#include <yocto_api.h>
Public Member Functions | |
YJSONContent * | get (int i) |
int | getInt (int i) |
s64 | getLong (int i) |
string | getString (int i) |
YJSONArray * | getYJSONArray (int i) |
YJSONObject * | getYJSONObject (int i) |
int | length () |
virtual int | parse () |
void | put (const string &flatAttr) |
virtual string | toJSON () |
virtual string | toString () |
YJSONArray (const string &data, int start, int stop) | |
YJSONArray (const string &data) | |
YJSONArray (YJSONArray *ref) | |
YJSONArray () | |
virtual | ~YJSONArray () |
Public Member Functions inherited from YJSONContent | |
string | FormatError (const string &errmsg, int cur_pos) |
YJSONType | getJSONType () |
YJSONContent (const string &data, int start, int stop, YJSONType type) | |
YJSONContent (YJSONContent *ref) | |
YJSONContent (YJSONType type) | |
virtual | ~YJSONContent () |
Private Attributes | |
vector< YJSONContent * > | _arrayValue |
Additional Inherited Members | |
Static Public Member Functions inherited from YJSONContent | |
static YJSONContent * | ParseJson (const string &data, int start, int stop) |
static int | SkipGarbage (const string &data, int start, int stop) |
Public Attributes inherited from YJSONContent | |
string | _data |
int | _data_boundary |
int | _data_len |
int | _data_start |
YJSONType | _type |
Definition at line 343 of file yocto_api.h.
YJSONArray::YJSONArray | ( | const string & | data, |
int | start, | ||
int | stop | ||
) |
Definition at line 182 of file yocto_api.cpp.
YJSONArray::YJSONArray | ( | const string & | data | ) |
YJSONArray::YJSONArray | ( | YJSONArray * | ref | ) |
Definition at line 189 of file yocto_api.cpp.
YJSONArray::YJSONArray | ( | ) |
Definition at line 186 of file yocto_api.cpp.
|
virtual |
Definition at line 223 of file yocto_api.cpp.
YJSONContent * YJSONArray::get | ( | int | i | ) |
Definition at line 320 of file yocto_api.cpp.
int YJSONArray::getInt | ( | int | i | ) |
Definition at line 330 of file yocto_api.cpp.
s64 YJSONArray::getLong | ( | int | i | ) |
Definition at line 335 of file yocto_api.cpp.
string YJSONArray::getString | ( | int | i | ) |
Definition at line 314 of file yocto_api.cpp.
YJSONArray * YJSONArray::getYJSONArray | ( | int | i | ) |
Definition at line 325 of file yocto_api.cpp.
YJSONObject * YJSONArray::getYJSONObject | ( | int | i | ) |
Definition at line 309 of file yocto_api.cpp.
int YJSONArray::length | ( | ) |
Definition at line 231 of file yocto_api.cpp.
|
virtual |
Implements YJSONContent.
Definition at line 236 of file yocto_api.cpp.
void YJSONArray::put | ( | const string & | flatAttr | ) |
Definition at line 341 of file yocto_api.cpp.
|
virtual |
Implements YJSONContent.
Definition at line 348 of file yocto_api.cpp.
|
virtual |
Implements YJSONContent.
Definition at line 364 of file yocto_api.cpp.
|
private |
Definition at line 345 of file yocto_api.h.