Skip to main content
Version: v0.22.0

JSON

Module Function​

parse(STRING)​

Returns HASH

Takes a STRING and parses it to a HASH or ARRAY. Numbers are always FLOAT.

JSON.parse('{"test": 123}')
JSON.parse('["test", 123]')
Output
{"test": 123.0}
["test", 123.0]

Properties​

NameValue