JSON Module

Parses JSON

parse(json: string)

Converts a JSON object into a lua table.

local j = require('json');
local obj = j.parse('{"field": "value"}');
d.send(obj.field);

Last updated