Expand description
JSON encode/decode module.
local json = std.json
local t = json.decode('{"a":1}')
local s = json.encode(t)
local s2 = json.encode_pretty(t)§Empty tables
An empty Lua table {} is encoded as a JSON object {},
not an array []. This matches the classify heuristic: a table
with raw_len() == 0 is treated as a map.