|
| Json (bool value) |
|
| Json (int value) |
|
| Json (int64_t value) |
|
| Json (double value) |
|
| Json (const char *value) |
|
| Json (const string &value) |
|
| Json (const Json &other) |
|
| Json (Json &&other) |
|
void | AddAttribute (const string &attr_name, bool value) |
|
void | AddAttribute (const string &attr_name, int value) |
|
void | AddAttribute (const string &attr_name, int64_t value) |
|
void | AddAttribute (const string &attr_name, double value) |
|
void | AddAttribute (const string &attr_name, const char *value) |
|
void | AddAttribute (const string &attr_name, const string &value) |
|
void | AddAttribute (const string &attr_name, const Json &value) |
|
AttributeIterator | AttributeBegin () |
|
ConstAttributeIterator | AttributeBegin () const |
|
AttributeIterator | AttributeEnd () |
|
ConstAttributeIterator | AttributeEnd () const |
|
ValueIterator | Begin () |
|
ConstValueIterator | Begin () const |
|
void | Copy (Json *to) const |
|
Json | Copy () const |
|
| DECLARE_CLASS_PTR (Json) |
|
| DEPRECATED (bool FromStringWithComments(const string &json_string, const ParseErrorCallback &cb=NULL)) |
|
| DEPRECATED (bool FromStreamWithComments(std::istream &input_stream, const ParseErrorCallback &cb=NULL)) |
|
ValueIterator | End () |
|
ConstValueIterator | End () const |
|
AttributeIterator | FindAttribute (const string &attr_name) |
|
ConstAttributeIterator | FindAttribute (const string &attr_name) const |
|
bool | FromFile (const string &file_path, const ParseErrorCallback &cb=NULL) |
|
bool | FromFileWithComments (const string &file_path, const ParseErrorCallback &cb=NULL) |
|
bool | FromStream (std::istream &input_stream, const ParseErrorCallback &cb=NULL) |
|
bool | FromStream (std::istream &input_stream, int parser_flag, const ParseErrorCallback &cb=NULL) |
|
bool | FromString (const string &json_string, const ParseErrorCallback &cb=NULL) |
|
bool | FromString (const string &json_string, int parser_flag, const ParseErrorCallback &cb=NULL) |
|
bool | FromString (const char *json_string, const ParseErrorCallback &cb=NULL) |
|
bool | FromString (const char *json_string, size_t len, const ParseErrorCallback &cb=NULL) |
|
bool | FromStringInsitu (string *json_string, const ParseErrorCallback &cb=NULL) |
|
bool | FromStringInsitu (char *json_string, const ParseErrorCallback &cb=NULL) |
|
bool | FromStringInsitu (char *json_string, size_t len, const ParseErrorCallback &cb=NULL) |
|
const Json & | GetAttribute (const string &attr_name) const |
|
Json & | GetAttribute (const string &attr_name) |
|
bool | GetBool () const |
|
double | GetDouble () const |
|
int64_t | GetInteger () const |
|
string | GetString () const |
|
bool | HasAttribute (const string &attr_name) const |
|
bool | HasAttribute (const string &attr_name, Type type) const |
|
bool | IsArray () const |
|
bool | IsBool () const |
|
bool | IsDouble () const |
|
bool | IsInteger () const |
|
bool | IsNull () const |
|
bool | IsObject () const |
|
bool | IsString () const |
|
size_t | MemberCount () const |
|
void | Move (Json *to) |
|
Json & | operator= (bool value) |
|
Json & | operator= (int value) |
|
Json & | operator= (int64_t value) |
|
Json & | operator= (double value) |
|
Json & | operator= (const char *value) |
|
Json & | operator= (const string &value) |
|
Json & | operator= (const Json &value) |
|
Json & | operator= (Json &&value) |
|
const Json & | operator[] (size_t index) const |
|
Json & | operator[] (size_t index) |
|
const Json & | operator[] (const string &attr_name) const |
|
Json & | operator[] (const string &attr_name) |
|
void | PushBack () |
|
void | PushBack (bool value) |
|
void | PushBack (int value) |
|
void | PushBack (int64_t value) |
|
void | PushBack (double value) |
|
void | PushBack (const char *value) |
|
void | PushBack (const string &value) |
|
void | PushBack (const Json &value) |
|
void | RemoveAllAttributes () |
|
void | RemoveAllElements () |
|
bool | RemoveAttribute (const string &attr_name) |
|
AttributeIterator | RemoveAttribute (AttributeIterator iterator) |
|
ValueIterator | RemoveElement (ValueIterator iterator) |
|
void | RemoveElementByIndex (size_t index) |
|
void | SetArray () |
|
void | SetBool (bool value) |
|
void | SetDouble (double value) |
|
void | SetInteger (int64_t value) |
|
void | SetNull () |
|
void | SetObject () |
|
void | SetString (const string &value) |
|
size_t | Size () const |
|
string | ToString (bool pretty=false) const |
|
void | ToString (string *str, bool pretty=false) const |
|
void | ToString (Buffer *buffer, bool pretty=false) const |
|
void | ToString (std::ostream *stream, bool pretty=false) const |
|
Type | type () const |
|