Test tojson and fromjson

This commit is contained in:
Nicolas Williams committed 2013-12-04 18:21:40 -06:00
1 parent 255f8ef5be
commit 3c4248192d
1 file changed
+4
+4
View File
@@ -75,6 +75,10 @@ null
"<script>hax</script>" "<script>hax</script>"
"<b>&lt;script&gt;hax&lt;/script&gt;</b>" "<b>&lt;script&gt;hax&lt;/script&gt;</b>"
[.[]|tojson|fromjson]
["foo", 1, ["a", 1, "b", 2, {"foo":"bar"}]]
["foo",1,["a",1,"b",2,{"foo":"bar"}]]
# #
# Dictionary construction syntax # Dictionary construction syntax
# #