test suite test json printer
import ideal • machine • characters • unicode handler
test case test basic printer()
printer : make printer()
assert json0 == "\"'Hello, world!'\\n\\\\\""
assert json1 == "68"
assert json2 == "[42, 68]"
assert json3 == "null"
the dictionary • put("foo", "bar")
the dictionary • put("baz", 68)
assert json4 == "{\"foo\": \"bar\", \"baz\": 68}"
assert json5 == "{\"foo\": false, \"bar\": true}"