Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qjsonobject.cpp File Reference
#include <qjsonobject.h>
#include <qjsonvalue.h>
#include <qjsonarray.h>
#include <qjsondocument.h>
#include <qstringlist.h>
#include <qdebug.h>
#include <qvariant.h>
#include <qcbormap.h>
#include <qmap.h>
#include <qhash.h>
#include <private/qcborvalue_p.h>
#include "qjsonwriter_p.h"
#include "qjson_p.h"
#include <algorithm>
+ Include dependency graph for qjsonobject.cpp:

Go to the source code of this file.

Functions

template<typename String >
static qsizetype indexOf (const QExplicitlySharedDataPointer< QCborContainerPrivate > &o, String key, bool *keyExists)
 
size_t qHash (const QJsonObject &object, size_t seed)
 
QDebug operator<< (QDebug dbg, const QJsonObject &o)
 
QDataStreamoperator<< (QDataStream &stream, const QJsonObject &object)
 
QDataStreamoperator>> (QDataStream &stream, QJsonObject &object)
 

Function Documentation

◆ indexOf()

template<typename String >
static qsizetype indexOf ( const QExplicitlySharedDataPointer< QCborContainerPrivate > &  o,
String  key,
bool *  keyExists 
)
static

Definition at line 258 of file qjsonobject.cpp.

References begin(), e, it, and o.

+ Here is the call graph for this function:

◆ operator<<() [1/2]

QDataStream & operator<< ( QDataStream stream,
const QJsonObject object 
)

Definition at line 1435 of file qjsonobject.cpp.

References QJsonDocument::Compact, and QJsonDocument::toJson().

+ Here is the call graph for this function:

◆ operator<<() [2/2]

QDebug operator<< ( QDebug  dbg,
const QJsonObject o 
)

Definition at line 1418 of file qjsonobject.cpp.

◆ operator>>()

QDataStream & operator>> ( QDataStream stream,
QJsonObject object 
)

Definition at line 1442 of file qjsonobject.cpp.

References QJsonDocument::object().

+ Here is the call graph for this function:

◆ qHash()

size_t qHash ( const QJsonObject object,
size_t  seed 
)

Definition at line 1406 of file qjsonobject.cpp.

References begin(), hash, it, and seed.

+ Here is the call graph for this function: