mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
Update json_15.chai
This commit is contained in:
parent
88042c7958
commit
906e5e2b6f
@ -16,3 +16,4 @@ assert_equal(to_json(from_json("null")), "null")
|
|||||||
assert_equal(from_json(to_json(["a": 5, "b": "stuff"])), ["a": 5, "b": "stuff"])
|
assert_equal(from_json(to_json(["a": 5, "b": "stuff"])), ["a": 5, "b": "stuff"])
|
||||||
auto x = [3.5, true, false, "test", [], Vector(), Map()]
|
auto x = [3.5, true, false, "test", [], Vector(), Map()]
|
||||||
assert_equal(from_json(to_json(x)), x)
|
assert_equal(from_json(to_json(x)), x)
|
||||||
|
assert_equal(from_json(to_json(["aa\\zz":"aa\\zz"])), ["aa\\zz": "aa\\zz"])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user