Add json.org tests for DecodeJson (#473)

This commit is contained in:
Gautham 2022-07-10 21:05:51 +05:30 committed by GitHub
parent 5fa77f1e8f
commit c0b325bafa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 313 additions and 10 deletions

View file

@ -0,0 +1,5 @@
-- https://www.json.org/JSON_checker/test.zip
-- JSON parsing sample test case: pass2.json
assert(pcall(DecodeJson, [[
[ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ [ "Not too deep"] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ] ]
]]))