![]() |
Qt 6.x
The Qt SDK
|
#include <qjsonparser_p.h>
Public Member Functions | |
Parser (const char *json, int length) | |
QCborValue | parse (QJsonParseError *error) |
Definition at line 26 of file qjsonparser_p.h.
Parser::Parser | ( | const char * | json, |
int | length | ||
) |
Definition at line 193 of file qjsonparser.cpp.
QCborValue Parser::parse | ( | QJsonParseError * | error | ) |
Definition at line 293 of file qjsonparser.cpp.
References QCborValue::Array, BeginArray, BeginObject, DEBUG, END, error, QJsonParseError::GarbageAtEnd, Qt::hex(), QJsonParseError::IllegalValue, QCborContainerPrivate::makeValue(), QCborValue::Map, QCborContainerPrivate::MoveContainer, QJsonParseError::NoError, qDebug, QExplicitlySharedDataPointer< T >::reset(), QExplicitlySharedDataPointer< T >::take(), and token.
Referenced by QJsonDocument::fromJson().