Definition: |
include builtins\json.e
object res = parse_json(string s) |
Description: |
Converts a string representation of a JSON object into an internal form suitable for further processing.
s: should contain a valid string representation of a JSON object. The result of parsing a JSON string is as follows:
For some valid (and invalid) JSON examples, see demo\rosetta\JSON.exw. Attempts to parse an invalid JSON string yield {JSON_INVALID}, ie {-4}. |
See Also: | print_json |