json.decode(string)

Parse a JSON encoded string and return the result as a table.

When decoding a JSON encoded string, the JSON null value will be written to the output table as the special value json.NULL since it is not possible to store the null value in a Lua table.

Example
t = json.decode('{"a":123,"b":456}')