Skip to content
Snippets Groups Projects
Commit 11ab807d authored by Damien George's avatar Damien George
Browse files

tests/extmod: Add test for ujson.load().

parent e93c1ca5
Branches
Tags
No related merge requests found
try:
from uio import StringIO
import ujson as json
except:
from io import StringIO
import json
print(json.load(StringIO('null')))
print(json.load(StringIO('"abc\\u0064e"')))
print(json.load(StringIO('[false, true, 1, -2]')))
print(json.load(StringIO('{"a":true}')))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment