#include <qjsondocumentproto.h>
|
| | QJsonDocumentProto (QObject *parent=0) |
| |
| | ~QJsonDocumentProto () |
| |
| Q_INVOKABLE QJsonArray | array () const |
| |
| Q_INVOKABLE QJsonDocument | fromBinaryData (const QByteArray &data, QJsonDocument::DataValidation validation=QJsonDocument::Validate) |
| |
| Q_INVOKABLE QJsonDocument | fromJson (const QByteArray &json, QJsonParseError *error=0) |
| |
| Q_INVOKABLE QJsonDocument | fromRawData (const char *data, int size, QJsonDocument::DataValidation validation=QJsonDocument::Validate) |
| |
| Q_INVOKABLE QJsonDocument | fromVariant (const QVariant &variant) |
| |
| Q_INVOKABLE bool | isArray () const |
| |
| Q_INVOKABLE bool | isEmpty () const |
| |
| Q_INVOKABLE bool | isNull () const |
| |
| Q_INVOKABLE bool | isObject () const |
| |
| Q_INVOKABLE QJsonObject | object () const |
| |
| Q_INVOKABLE bool | operator!= (const QJsonDocument &other) const |
| |
| Q_INVOKABLE QJsonDocument & | operator= (const QJsonDocument &other) |
| |
| Q_INVOKABLE bool | operator== (const QJsonDocument &other) const |
| |
| Q_INVOKABLE const char * | rawData (int *size) const |
| |
| Q_INVOKABLE void | setArray (const QJsonArray &array) |
| |
| Q_INVOKABLE void | setObject (const QJsonObject &object) |
| |
| Q_INVOKABLE QByteArray | toBinaryData () const |
| |
| Q_INVOKABLE QByteArray | toJson (QJsonDocument::JsonFormat format=QJsonDocument::Indented) const |
| |
| Q_INVOKABLE QVariant | toVariant () const |
| |
◆ QJsonDocumentProto()
| QJsonDocumentProto::QJsonDocumentProto |
( |
QObject * | parent = 0 | ) |
|
◆ ~QJsonDocumentProto()
| QJsonDocumentProto::~QJsonDocumentProto |
( |
| ) |
|
◆ array()
| QJsonArray QJsonDocumentProto::array |
( |
| ) |
const |
◆ fromBinaryData()
| QJsonDocument QJsonDocumentProto::fromBinaryData |
( |
const QByteArray & | data, |
|
|
QJsonDocument::DataValidation | validation = QJsonDocument::Validate ) |
◆ fromJson()
| QJsonDocument QJsonDocumentProto::fromJson |
( |
const QByteArray & | json, |
|
|
QJsonParseError * | error = 0 ) |
◆ fromRawData()
| QJsonDocument QJsonDocumentProto::fromRawData |
( |
const char * | data, |
|
|
int | size, |
|
|
QJsonDocument::DataValidation | validation = QJsonDocument::Validate ) |
◆ fromVariant()
| QJsonDocument QJsonDocumentProto::fromVariant |
( |
const QVariant & | variant | ) |
|
◆ isArray()
| bool QJsonDocumentProto::isArray |
( |
| ) |
const |
◆ isEmpty()
| bool QJsonDocumentProto::isEmpty |
( |
| ) |
const |
◆ isNull()
| bool QJsonDocumentProto::isNull |
( |
| ) |
const |
◆ isObject()
| bool QJsonDocumentProto::isObject |
( |
| ) |
const |
◆ object()
| QJsonObject QJsonDocumentProto::object |
( |
| ) |
const |
◆ operator!=()
| bool QJsonDocumentProto::operator!= |
( |
const QJsonDocument & | other | ) |
const |
◆ operator=()
| QJsonDocument & QJsonDocumentProto::operator= |
( |
const QJsonDocument & | other | ) |
|
◆ operator==()
| bool QJsonDocumentProto::operator== |
( |
const QJsonDocument & | other | ) |
const |
◆ rawData()
| const char * QJsonDocumentProto::rawData |
( |
int * | size | ) |
const |
◆ setArray()
| void QJsonDocumentProto::setArray |
( |
const QJsonArray & | array | ) |
|
◆ setObject()
| void QJsonDocumentProto::setObject |
( |
const QJsonObject & | object | ) |
|
◆ toBinaryData()
| QByteArray QJsonDocumentProto::toBinaryData |
( |
| ) |
const |
◆ toJson()
| QByteArray QJsonDocumentProto::toJson |
( |
QJsonDocument::JsonFormat | format = QJsonDocument::Indented | ) |
const |
◆ toVariant()
| QVariant QJsonDocumentProto::toVariant |
( |
| ) |
const |
The documentation for this class was generated from the following files:
- qjsondocumentproto.h
- qjsondocumentproto.cpp