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
QV4::JsonParser Class Reference

#include <qv4jsonobject_p.h>

+ Collaboration diagram for QV4::JsonParser:

Public Member Functions

 JsonParser (ExecutionEngine *engine, const QChar *json, int length)
 
ReturnedValue parse (QJsonParseError *error)
 

Detailed Description

Definition at line 75 of file qv4jsonobject_p.h.

Constructor & Destructor Documentation

◆ JsonParser()

JsonParser::JsonParser ( ExecutionEngine * engine,
const QChar * json,
int length )

Definition at line 40 of file qv4jsonobject.cpp.

Member Function Documentation

◆ parse()

ReturnedValue JsonParser::parse ( QJsonParseError * error)

Definition at line 130 of file qv4jsonobject.cpp.

References END, error, QJsonParseError::IllegalValue, QJsonParseError::NoError, qDebug, and QV4::Encode::undefined().

Referenced by QQmlXMLHttpRequest::jsonResponseBody(), and QV4::JsonObject::method_parse().

+ 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: