- convertJSONToASCII
string convertJSONToASCII(string json)
Helper function that escapes all Unicode characters in a JSON string.
- deserializeJSON
void deserializeJSON(T dst, JSON src)
T deserializeJSON(JSON src)
T deserializeJSON(R input)
Deserializes a JSON value into the destination variable.
- parseJSON
JSON parseJSON(R range, int* line, string filename)
Parses the given range as a JSON string and returns the corresponding JSON object.
- parseJSONString
JSON parseJSONString(string str, string filename)
Parses the given JSON string and returns the corresponding JSON object.
- populateFromJSON
void populateFromJSON(T object, JSON data)
Undocumented in source. Be warned that the author may not have intended to support it.
- populateFromJSON
void populateFromJSON(T object, JSON data, string pathPrefix)
Undocumented in source. Be warned that the author may not have intended to support it.
- serializeToJSON
JSON serializeToJSON(T value)
void serializeToJSON(R destination, T value)
- serializeToJSONString
string serializeToJSONString(T value)
Serializes the given value to JSON.
- serializeToPrettyJSON
void serializeToPrettyJSON(R destination, T value)
string serializeToPrettyJSON(T value)
Serializes the given value to a pretty printed JSON string.
- writeJSONString
void writeJSONString(R dst, JSON json, size_t level)
Writes the given JSON object as a JSON string into the destination range.
- writePrettyJSONString
void writePrettyJSONString(R dst, JSON json, int level)
Writes the given JSON object as a prettified JSON string into the destination range.