Commit 11ab807d authored by Damien George's avatar Damien George

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

parent e93c1ca5
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}')))
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment