diff options
Diffstat (limited to 'tests/jsonTest.ur')
-rw-r--r-- | tests/jsonTest.ur | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/jsonTest.ur b/tests/jsonTest.ur new file mode 100644 index 00000000..97898de8 --- /dev/null +++ b/tests/jsonTest.ur @@ -0,0 +1,6 @@ +open Json + +fun main () : transaction page = return <xml><body> + {[fromJson "[1, 2, 3]" : list int]}<br/> + {[toJson ("hi" :: "bye\"" :: "hehe" :: [])]} +</body></xml> |