cosmopolitan/test/tool/net/samples/pass3.lua

12 lines
273 B
Lua
Raw Normal View History

-- https://www.json.org/JSON_checker/test.zip
-- JSON parsing sample test case: pass3.json
assert(pcall(DecodeJson, [[
{
"JSON Test Pattern pass3": {
"The outermost value": "must be an object or array.",
"In this test": "It is an object."
}
}
]]))