| Key: | |||
|---|---|---|---|
Private function | Public function | Protected function | Other functions |
Parses a JSON encoded value to a JSONValue object
| data | Pointer to a wchar_t* that contains the data |
Basic constructor for creating a JSON Value of type NULL
Basic constructor for creating a JSON Value of type String
| m_char_value | The string to use as the value |
Basic constructor for creating a JSON Value of type String
| m_string_value | The string to use as the value |
Basic constructor for creating a JSON Value of type Bool
| m_bool_value | The bool to use as the value |
Basic constructor for creating a JSON Value of type Number
| m_number_value | The number to use as the value |
Basic constructor for creating a JSON Value of type Array
| m_array_value | The JSONArray to use as the value |
Basic constructor for creating a JSON Value of type Object
| m_object_value | The JSONObject to use as the value |
The destructor for the JSON Value object
Handles deleting the objects in the array or the object value
Checks if the value is a NULL
Checks if the value is a String
Checks if the value is a Bool
Checks if the value is a Number
Checks if the value is an Array
Checks if the value is an Object
Retrieves the String value of this JSONValue
Use IsString() before using this method.
Retrieves the Bool value of this JSONValue
Use IsBool() before using this method.
Retrieves the Number value of this JSONValue
Use IsNumber() before using this method.
Retrieves the Array value of this JSONValue
Use IsArray() before using this method.
Retrieves the Object value of this JSONValue
Use IsObject() before using this method.
Creates a JSON encoded string for the value with all necessary characters escaped
Creates a JSON encoded string with all required fields escaped
Works from http://www.ecma-internationl.org/publications/files/ECMA-ST/ECMA-262.pdf
Section 15.12.3.
| str | The string that needs to have the characters escaped |