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>.
Loading...
Searching...
No Matches
QJsonPrivate::Parser Class Reference

#include <qjsonparser_p.h>

+ Collaboration diagram for QJsonPrivate::Parser:

Public Member Functions

 Parser (const char *json, int length)
 
QCborValue parse (QJsonParseError *error)
 

Detailed Description

Definition at line 26 of file qjsonparser_p.h.

Constructor & Destructor Documentation

◆ Parser()

Parser::Parser ( const char * json,
int length )

Definition at line 197 of file qjsonparser.cpp.

Member Function Documentation

◆ parse()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: