Qore::Json namespace.
More...
|
string | makeFormattedJSONString (any data, *string encoding) |
| Serializes qore data into a JSON string, formatted with line breaks for easier readability. More...
|
|
string | makeJSONString (any data, *string encoding) |
| Serializes qore data into a JSON string, without any line breaks. More...
|
|
string | make_json (any data, *int format, *string encoding) |
| Serializes qore data into a JSON string with optional whitespace formatting (line breaks and indentation) More...
|
|
nothing | parseJSON () |
| This is a variant that is basically a noop, included for backwards-compatibility for functions that ignored type errors in the calling parameters. More...
|
|
auto | parseJSON (string json_str) |
| Parses a JSON string and returns the corresponding Qore data structure. More...
|
|
auto | parse_json (string json_str) |
| Parses a JSON string and returns the corresponding Qore data structure. More...
|
|
|
const | JGF_ADD_FORMATTING = JGF_ADD_FORMATTING |
| use whitespace formatting including line breaks and indentation to make generated JSON more readable by humans
|
|
const | JGF_NONE = JGF_NONE |
| no flags; standard JSON generation without whitespace formatting
|
|