mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-06 16:57:04 +08:00
parent
5a651e2b8a
commit
6a4647af43
6
unittests/json_roundtrip.chai
Normal file
6
unittests/json_roundtrip.chai
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
|
||||||
|
var m = ["a" : 1, "b" : [ 1, 2, 3 ], "c" : [1, "a string", ["d" : 15.4]]]
|
||||||
|
|
||||||
|
assert_equal(from_json(to_json(m)), m)
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user