Annotation of parser3/tests/474.html, revision 1.1

1.1     ! moko        1: @main[]
        !             2: 1. the initial indent can't be longer than the recursion limit
        !             3: ^try-catch{ ^json:string[$.k[v] ; $.indent[^for[i](1;200){^#09}] ] }
        !             4: 
        !             5: 2. distinct[all]: numbering goes on from the last number, every object has its own, numbered keys of the data are skipped
        !             6: ^test[{"a":1,"a":2,"o":{"a":3,"a":4,"a":5},"a":6,"a_2":7,"a":8}]
        !             7: ^test[{"a":1,"a_3":0,"a":2,"a":3,"a":4}]
        !             8: ^test[[{"a":1,"a":2},{"a":3,"a":4}]]
        !             9: 
        !            10: 3. and it is not quadratic
        !            11: $s[^for[i](1;5000){"a":$i,}]
        !            12: $o[^json:parse[{${s}"z":0}; $.distinct[all] ]]
        !            13: ^o._count[] keys, last a_5000: $o.a_5000, z: $o.z
        !            14: 
        !            15: 4. negative depth is no limit
        !            16: ^json:string[^json:parse[[[1]]; $.depth(-1) ]; $.one-line(true) ]
        !            17: 
        !            18: @test[s]
        !            19: $o[^json:parse[$s; $.distinct[all] ]]
        !            20: ^json:string[$o; $.one-line(true) ]

E-mail: