Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qjsondocument.h File Reference
#include <QtCore/qjsonvalue.h>
#include <QtCore/qscopedpointer.h>
#include <memory>
+ Include dependency graph for qjsondocument.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QJsonParseError
 \inmodule QtCore\reentrant More...
 
class  QJsonDocument
 \inmodule QtCore\reentrant More...
 

Namespaces

namespace  QJsonPrivate
 

Functions

Q_CORE_EXPORT QDebug operator<< (QDebug, const QJsonDocument &)
 
Q_CORE_EXPORT QDataStreamoperator<< (QDataStream &, const QJsonDocument &)
 
Q_CORE_EXPORT QDataStreamoperator>> (QDataStream &, QJsonDocument &)
 

Function Documentation

◆ operator<<() [1/2]

Q_CORE_EXPORT QDataStream & operator<< ( QDataStream stream,
const QJsonDocument doc 
)

Definition at line 508 of file qjsondocument.cpp.

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

+ Here is the call graph for this function:

◆ operator<<() [2/2]

Q_CORE_EXPORT QDebug operator<< ( QDebug  dbg,
const QJsonDocument o 
)

Definition at line 110 of file qjsondocument.cpp.

◆ operator>>()

Q_CORE_EXPORT QDataStream & operator>> ( QDataStream stream,
QJsonDocument doc 
)

Definition at line 514 of file qjsondocument.cpp.

References QJsonDocument::fromJson(), and QDataStream::ReadCorruptData.

+ Here is the call graph for this function: