40 #ifndef QJSONDOCUMENT_H
41 #define QJSONDOCUMENT_H
43 #include <QtCore/qjsonvalue.h>
44 #include <QtCore/qscopedpointer.h>
85 #ifdef Q_LITTLE_ENDIAN
86 static const uint BinaryFormatTag = (
'q') | (
'b' << 8) | (
'j' << 16) | (
's' << 24);
88 static const uint BinaryFormatTag = (
'q' << 24) | (
'b' << 16) | (
'j' << 8) | (
's');
119 #if !defined(QT_JSON_READONLY) || defined(Q_CLANG_QDOC)
123 bool isEmpty()
const;
124 bool isArray()
const;
125 bool isObject()
const;
133 #if QT_STRINGVIEW_LEVEL < 2
152 std::unique_ptr<QJsonDocumentPrivate>
d;
157 #if !defined(QT_NO_DEBUG_STREAM) && !defined(QT_JSON_READONLY)
161 #ifndef QT_NO_DATASTREAM
small capitals from c petite p scientific i
[1]
The QByteArray class provides an array of bytes.
The QCborValue class encapsulates a value in CBOR.
The QDataStream class provides serialization of binary data to a QIODevice.
operator>>(QDataStream &ds, qfloat16 &f)
operator<<(QDataStream &ds, qfloat16 f)
The QDebug class provides an output stream for debugging information.
The QJsonArray class encapsulates a JSON array.
The QJsonDocument class provides a way to read and write JSON documents.
bool operator!=(const QJsonDocument &other) const
The QJsonObject class encapsulates a JSON object.
The QJsonValue class encapsulates a value in JSON.
The QLatin1String class provides a thin wrapper around an US-ASCII/Latin-1 encoded string literal.
The QString class provides a Unicode character string.
The QStringView class provides a unified view on UTF-16 strings with a read-only subset of the QStrin...
The QVariant class acts like a union for the most common Qt data types.
Q_CORE_EXPORT QDebug operator<<(QDebug, const QJsonDocument &)
bool operator==(const QMakeBaseKey &one, const QMakeBaseKey &two)
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
GLenum GLuint GLintptr offset
GLint GLsizei GLsizei GLenum format
#define Q_DECLARE_SHARED(TYPE)
The QJsonParseError class is used to report errors during JSON parsing.