aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/jsonTest.ur
blob: 97898de83ead35bd453436cb6a20033424d283af (plain)
1
2
3
4
5
6
open Json

fun main () : transaction page = return <xml><body>
  {[fromJson "[1, 2, 3]" : list int]}<br/>
  {[toJson ("hi" :: "bye\"" :: "hehe" :: [])]}
</body></xml>