public static parse(json as String) as Object:
Parses JSON text into its natural Klyn representation.
JSON objects become maps, arrays become array lists, and scalar values retain their corresponding primitive type.
| Parameter | Description |
|---|---|
json | JSON document to parse. |
Parsed map, list, scalar value, or null.
value = JSON.parse("""{"numerator": 1, "denominator": 3}""")
assert value is Map