Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#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 197 of file qjsonparser.cpp.
QCborValue Parser::parse | ( | QJsonParseError * | error | ) |
Definition at line 297 of file qjsonparser.cpp.
References QCborValue::Array, BeginArray, BeginObject, error, QJsonParseError::GarbageAtEnd, Qt::hex(), QJsonParseError::IllegalValue, QCborContainerPrivate::makeValue(), QCborValue::Map, QCborContainerPrivate::MoveContainer, QJsonParseError::NoError, QCborValue(), qDebug, QT_PARSER_TRACING_DEBUG, QT_PARSER_TRACING_END, QExplicitlySharedDataPointer< T >::reset(), QExplicitlySharedDataPointer< T >::take(), and token.
Referenced by QJsonDocument::fromJson().