Annotation of parser3/tests/277.html, revision 1.4
1.1 moko 1: @main[]
2:
3: $json[{
4: "bigint": 123456789012345
5: }]
6:
7: $o[^json:parse[$json]]
1.2 moko 8: $o.hash[ $.value[hash] ]
9:
10: $o.b[^test::create[]]
11: $o.c[^test2::create[]]
12:
1.4 ! moko 13: 1. ^json:string[$o; $._default[$2jsonDefault] $.test[$2json]]
! 14:
! 15: #just $._default
! 16: $h[ $._default[$2jsonDefault] ]
! 17: 2. ^json:string[$o;$h]
! 18: ^if(def $h){defined OK}{not defined BUG}
1.2 moko 19:
20: @2json[key;value;options]
21: {key is: $key; value is: ^json:string[$value]}
22:
23: @2jsonDefault[key;value;options]
24: {default, key is: $key; value is: ^json:string[$value]}
25:
26:
27: @CLASS
28: test
29:
30: @create[]
31: $value[value]
32:
33: @CLASS
34: test2
35:
36: @create[]
37: $value2[value2]
E-mail: