Qt 6.x
The Qt SDK
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 76 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 129 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: