JSON Parser
Function parsing JSON strings to values
Evaluation
This expression evaluates to a function of the form:
(string x) -> any
The function is consistent with parser semantics used for string to data conversion, for example by the CSV Input step.
Processing
The JSON String x is converted into a value representing the JSON contents using the following rules:
- JSON objects are converted to
dictvalues - JSON arrays are converted to
listvalues - JSON strings are converted to
stringvalues - JSON numbers are converted to
longordoublevalues - JSON booleans are converted to
booleanvalues - JSON null is converted to
nil
If x is nil, nil is returned.
Settings
| Name | Type | Description |
|---|---|---|
Lenient |
boolean |
If If |