Annotation of parser3/tests/results/256.processed, revision 1.11

1.1       misha       1: Content-Type: text/html
1.10      moko        2: Content-Length: 5893
1.1       misha       3: 
                      4: <h3>hash</h3>
                      5: {
                      6: "void":null,
                      7: "bool-true":true,
                      8: "bool-false":false,
                      9: "int":1,
                     10: "double":0.5,
                     11: "a\/b":"\"1\"",
                     12: "string":"value with \"quotes\"\/other things",
                     13: "string-ru":"русские буквы",
                     14: "hash":{
                     15: "e":"ee"
                     16: }
                     17: }, {
                     18:        "void":null,
                     19:        "bool-true":true,
                     20:        "bool-false":false,
                     21:        "int":1,
                     22:        "double":0.5,
                     23:        "a\/b":"\"1\"",
                     24:        "string":"value with \"quotes\"\/other things",
                     25:        "string-ru":"русские буквы",
                     26:        "hash":{
                     27:                "e":"ee"
                     28:        }
                     29: }
                     30: <h3>date</h3>
                     31: {
1.11    ! moko       32: "value":1787022540
1.1       misha      33: }, {
1.11    ! moko       34: "value":"Tue, 18 Aug 2026 03:09:00 GMT"
1.1       misha      35: }, {
1.11    ! moko       36: "value":"2026-08-18T06:09:00+3:00"
1.9       moko       37: }, {
1.11    ! moko       38: "value":"2026-08-18 06:09:00"
1.1       misha      39: }, {
1.11    ! moko       40: "value":"new Date(1787022540)"
1.10      moko       41: }, "exception":"unsupported, must be 'sql-string', 'gmt-string', 'iso-string' or 'unix-timestamp'. That's OK"
1.1       misha      42: <h3>table</h3>
                     43: {
                     44: "table_nameless_empty":[],
                     45: "table_nameless_1":[
                     46: {"0":"v1","1":"v2","2":"v3"}
                     47: ],
                     48: "table_nameless_2":[
                     49: {"0":"v1","1":"v2","2":"v3"},
                     50: {"0":"v4","1":"v5","2":"v6"}
                     51: ],
                     52: "table_named_empty":[],
                     53: "table_named_1":[
                     54: {"c1":"v1","c2":"v2","c3":"v3"}
                     55: ],
                     56: "table_named_2":[
                     57: {"c1":"v1","c2":"v2","c3":"v3"},
                     58: {"c1":"v4","c2":"v5","c3":"v6"}
                     59: ],
                     60: "table_named_3":[
                     61: {"c1":"v1","c2":"v2","c3":"v3"},
                     62: {"c1":"v4","c2":"v5","c3":"v6"},
1.2       moko       63: {"c1":"v7","c2":"v8","c3":"v9","3":"v0"},
                     64: {"c1":"vA\""},
                     65: {"c1":"vB\\"}
1.1       misha      66: ]
                     67: }, {
                     68:        "table_nameless_empty":[],
                     69:        "table_nameless_1":[
                     70:                {"0":"v1","1":"v2","2":"v3"}
                     71:        ],
                     72:        "table_nameless_2":[
                     73:                {"0":"v1","1":"v2","2":"v3"},
                     74:                {"0":"v4","1":"v5","2":"v6"}
                     75:        ],
                     76:        "table_named_empty":[],
                     77:        "table_named_1":[
                     78:                {"c1":"v1","c2":"v2","c3":"v3"}
                     79:        ],
                     80:        "table_named_2":[
                     81:                {"c1":"v1","c2":"v2","c3":"v3"},
                     82:                {"c1":"v4","c2":"v5","c3":"v6"}
                     83:        ],
                     84:        "table_named_3":[
                     85:                {"c1":"v1","c2":"v2","c3":"v3"},
                     86:                {"c1":"v4","c2":"v5","c3":"v6"},
1.2       moko       87:                {"c1":"v7","c2":"v8","c3":"v9","3":"v0"},
                     88:                {"c1":"vA\""},
                     89:                {"c1":"vB\\"}
1.1       misha      90:        ]
                     91: }, {
                     92: "table_nameless_empty":[
                     93: null
                     94: ],
                     95: "table_nameless_1":[
                     96: null,
                     97: ["v1","v2","v3"]
                     98: ],
                     99: "table_nameless_2":[
                    100: null,
                    101: ["v1","v2","v3"],
                    102: ["v4","v5","v6"]
                    103: ],
                    104: "table_named_empty":[
                    105: ["c1","c2","c3"]
                    106: ],
                    107: "table_named_1":[
                    108: ["c1","c2","c3"],
                    109: ["v1","v2","v3"]
                    110: ],
                    111: "table_named_2":[
                    112: ["c1","c2","c3"],
                    113: ["v1","v2","v3"],
                    114: ["v4","v5","v6"]
                    115: ],
                    116: "table_named_3":[
                    117: ["c1","c2","c3"],
                    118: ["v1","v2","v3"],
                    119: ["v4","v5","v6"],
1.2       moko      120: ["v7","v8","v9","v0"],
                    121: ["vA\""],
                    122: ["vB\\"]
1.1       misha     123: ]
                    124: }, {
                    125:        "table_nameless_empty":[
                    126:                null
                    127:        ],
                    128:        "table_nameless_1":[
                    129:                null,
                    130:                ["v1","v2","v3"]
                    131:        ],
                    132:        "table_nameless_2":[
                    133:                null,
                    134:                ["v1","v2","v3"],
                    135:                ["v4","v5","v6"]
                    136:        ],
                    137:        "table_named_empty":[
                    138:                ["c1","c2","c3"]
                    139:        ],
                    140:        "table_named_1":[
                    141:                ["c1","c2","c3"],
                    142:                ["v1","v2","v3"]
                    143:        ],
                    144:        "table_named_2":[
                    145:                ["c1","c2","c3"],
                    146:                ["v1","v2","v3"],
                    147:                ["v4","v5","v6"]
                    148:        ],
                    149:        "table_named_3":[
                    150:                ["c1","c2","c3"],
                    151:                ["v1","v2","v3"],
                    152:                ["v4","v5","v6"],
1.2       moko      153:                ["v7","v8","v9","v0"],
                    154:                ["vA\""],
                    155:                ["vB\\"]
                    156:        ]
                    157: }, {
                    158: "table_nameless_empty":[],
                    159: "table_nameless_1":[
                    160: ["v1","v2","v3"]
                    161: ],
                    162: "table_nameless_2":[
                    163: ["v1","v2","v3"],
                    164: ["v4","v5","v6"]
                    165: ],
                    166: "table_named_empty":[],
                    167: "table_named_1":[
                    168: ["v1","v2","v3"]
                    169: ],
                    170: "table_named_2":[
                    171: ["v1","v2","v3"],
                    172: ["v4","v5","v6"]
                    173: ],
                    174: "table_named_3":[
                    175: ["v1","v2","v3"],
                    176: ["v4","v5","v6"],
                    177: ["v7","v8","v9","v0"],
                    178: "vA\"",
                    179: "vB\\"
                    180: ]
                    181: }, {
                    182:        "table_nameless_empty":[],
                    183:        "table_nameless_1":[
                    184:                ["v1","v2","v3"]
                    185:        ],
                    186:        "table_nameless_2":[
                    187:                ["v1","v2","v3"],
                    188:                ["v4","v5","v6"]
                    189:        ],
                    190:        "table_named_empty":[],
                    191:        "table_named_1":[
                    192:                ["v1","v2","v3"]
                    193:        ],
                    194:        "table_named_2":[
                    195:                ["v1","v2","v3"],
                    196:                ["v4","v5","v6"]
                    197:        ],
                    198:        "table_named_3":[
                    199:                ["v1","v2","v3"],
                    200:                ["v4","v5","v6"],
                    201:                ["v7","v8","v9","v0"],
                    202:                "vA\"",
                    203:                "vB\\"
1.1       misha     204:        ]
1.5       misha     205: }, "exception":"unsupported, must be 'array', 'object' or 'compact'. That's OK"
1.1       misha     206: <h3>my</h3>
                    207: {
1.2       moko      208: "object":"my at key object, with 1 option"
1.5       misha     209: }, "exception":"string, called with invalid option. That's OK", "exception":"string, $.my must be parser method with 3 parameters. That's OK"
1.1       misha     210: <h3>file</h3>
                    211: {
                    212: "text":{
                    213: "class":"file",
1.8       moko      214: "name":"zigi",
1.4       misha     215: "size":12,
1.8       moko      216: "mode":"text",
1.6       misha     217: "content-type":"application\/octet-stream",
1.1       misha     218: "text":"file-content"
                    219: },
                    220: "binary":{
                    221: "class":"file",
1.8       moko      222: "name":"256.txt",
1.4       misha     223: "size":12,
1.8       moko      224: "mode":"binary",
1.1       misha     225: "content-type":"application\/octet-stream",
                    226: "adate":"-value-",
                    227: "mdate":"-value-",
                    228: "cdate":"-value-",
                    229: "text":"file-content"
                    230: },
                    231: "stated":{
                    232: "class":"file",
1.8       moko      233: "name":"256.txt",
1.4       misha     234: "size":12,
1.1       misha     235: "content-type":"application\/octet-stream",
                    236: "adate":"-value-",
                    237: "mdate":"-value-",
                    238: "cdate":"-value-"
                    239: }
                    240: }, {
                    241:        "text":{
                    242:                "class":"file",
1.8       moko      243:                "name":"zigi",
1.4       misha     244:                "size":12,
1.8       moko      245:                "mode":"text",
1.6       misha     246:                "content-type":"application\/octet-stream",
1.1       misha     247:                "base64":"ZmlsZS1jb250ZW50"
                    248:        },
                    249:        "binary":{
                    250:                "class":"file",
1.8       moko      251:                "name":"256.txt",
1.4       misha     252:                "size":12,
1.8       moko      253:                "mode":"binary",
1.1       misha     254:                "content-type":"application\/octet-stream",
                    255:                "adate":"-value-",
                    256:                "mdate":"-value-",
                    257:                "cdate":"-value-",
                    258:                "base64":"ZmlsZS1jb250ZW50"
                    259:        },
                    260:        "stated":{
                    261:                "class":"file",
1.8       moko      262:                "name":"256.txt",
1.4       misha     263:                "size":12,
1.1       misha     264:                "content-type":"application\/octet-stream",
                    265:                "adate":"-value-",
                    266:                "mdate":"-value-",
                    267:                "cdate":"-value-"
                    268:        }
                    269: }, {
                    270: "text":{"file":{"name":"zigi", "text":"file-content", "params":"-params-"}},
                    271: "binary":{"file":{"name":"256.txt", "text":"file-content", "params":"-params-"}},
                    272: "stated":{"file":{"name":"256.txt", "text":"", "params":"-params-"}}
1.5       misha     273: }, {
                    274: "text":{
                    275: "class":"file",
1.8       moko      276: "name":"zigi",
1.5       misha     277: "size":12,
1.8       moko      278: "mode":"text",
                    279: "content-type":"application\/octet-stream"
1.5       misha     280: },
                    281: "binary":{
                    282: "class":"file",
1.8       moko      283: "name":"256.txt",
1.5       misha     284: "size":12,
1.8       moko      285: "mode":"binary",
1.5       misha     286: "content-type":"application\/octet-stream",
                    287: "adate":"-value-",
                    288: "mdate":"-value-",
                    289: "cdate":"-value-"
                    290: },
                    291: "stated":{
                    292: "class":"file",
1.8       moko      293: "name":"256.txt",
1.5       misha     294: "size":12,
                    295: "content-type":"application\/octet-stream",
                    296: "adate":"-value-",
                    297: "mdate":"-value-",
                    298: "cdate":"-value-"
1.1       misha     299: }
1.5       misha     300: }, "exception":"unsupported, must be 'base64', 'text' or 'stat'. That's OK"
1.1       misha     301: <h3>image</h3>
                    302: {
                    303: "value":null
                    304: }, {
                    305: "value":"image []"
1.5       misha     306: }, "exception":"string, Unsupported value's type (image). That's OK"
1.1       misha     307: <h3>hash_with_infinite_recursion</h3>
1.5       misha     308: "exception":"string, call canceled - endless json recursion detected. That's OK"
1.3       misha     309: <h3>xdoc</h3>
                    310: {
                    311: "value":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<r><t z=\"1\"\/><\/r>\n"
                    312: }, {
                    313: "value":"<r>\n  <t z=\"1\"\/>\n<\/r>\n"
                    314: }

E-mail: