HDK
|
#include <UT_JSONParser.h>
Public Member Functions | |
UT_AutoJSONParser () | |
UT_AutoJSONParser (UT_IStream &is) | |
Load JSON from the given UT_IStream. More... | |
UT_AutoJSONParser (const char *buffer, int64 size) | |
Load JSON from the given string. More... | |
UT_AutoJSONParser (const UT_JSONValue &v) | |
Load JSON from the UT_JSONValue. More... | |
UT_AutoJSONParser (const UT_AutoJSONParser &)=delete | |
UT_AutoJSONParser & | operator= (const UT_AutoJSONParser &)=delete |
~UT_AutoJSONParser () | |
void | attach (UT_IStream &is) |
operator UT_JSONParser & () | |
void | close () |
Close the parser. More... | |
UT_JSONParser & | parser () |
UT_JSONParser & | operator* () |
UT_JSONParser * | operator-> () |
Convenience class to create a JSON parser from a simple input
For example:
Definition at line 860 of file UT_JSONParser.h.
UT_AutoJSONParser::UT_AutoJSONParser | ( | ) |
UT_AutoJSONParser::UT_AutoJSONParser | ( | UT_IStream & | is | ) |
Load JSON from the given UT_IStream.
UT_AutoJSONParser::UT_AutoJSONParser | ( | const char * | buffer, |
int64 | size | ||
) |
Load JSON from the given string.
UT_AutoJSONParser::UT_AutoJSONParser | ( | const UT_JSONValue & | v | ) |
Load JSON from the UT_JSONValue.
|
delete |
|
inline |
Definition at line 877 of file UT_JSONParser.h.
void UT_AutoJSONParser::attach | ( | UT_IStream & | is | ) |
void UT_AutoJSONParser::close | ( | ) |
Close the parser.
|
inline |
Definition at line 892 of file UT_JSONParser.h.
|
inline |
Access to the parser
Definition at line 887 of file UT_JSONParser.h.
|
inline |
Access to the parser
Definition at line 888 of file UT_JSONParser.h.
|
delete |
|
inline |
Access to the parser
Definition at line 886 of file UT_JSONParser.h.