json module
Read JSON into Atom values and serialize Atom values as JSON.
Import it with 'use json'.
use json
print(json.decode('42'))
42
Requires ATOM_WITH_JSON. JSON values map to Atom null, booleans, signed or unsigned integers, floating numbers, strings, arrays and dictionaries. Object keys must be text. JSON string decoding preserves string representation even for a one-scalar string.