--- parser3/tests/results/253.processed 2010/09/02 22:56:09 1.2 +++ parser3/tests/results/253.processed 2024/10/02 20:06:47 1.10 @@ -1,51 +1,134 @@ Content-Type: text/html -Content-Length: 662 +Content-Length: 1887 -object -duplicate key -object = { -type = string class1 -value = string sample1 -} -array = { -0 = { -id = int 1 -label = string test1 -} -1 = { -id = int 2 -label = string test2 -} -2 = bool false 3 = bool true 4 = int 2 -5 = double 2 -6 = void } -object = { -type = string class2 -value = string sample2 -} -array = { -0 = { -id = int 1 -label = string test1 -} -1 = { -id = int 2 -label = string test2 -} -2 = bool false 3 = bool true 4 = int 2 -5 = string 2.0 -6 = void } -object = class1 value "sample1" -array = { -0 = { -id = int 1 -label = string test1 -} -1 = { -id = int 2 -label = string test2 -} -2 = bool false 3 = bool true 4 = int 2 -5 = double 2 -6 = void } -object_2 = class2 value "sample2" +Exception type: parser.runtime, +Source: object, +Comment: duplicate key +Exception type: json.parse, +Source: parse, +Comment: nesting limit at line 7 + {"id": 1, "label": "test1"}, + ^ +Exception type: parser.runtime, +Source: bug, +Comment: must be 'first', 'last' or 'all' +{ + "object":{ + "value":"class1 sample1" + }, + "array":{ + "0":"Много букв в кодировке windows-1251", + "1":{ + "id":1, + "label":"test1" + }, + "2":{ + "id":2, + "label":"test2" + }, + "3":{ + "Ключ":"Значение в windows-1251" + }, + "4":false, + "5":true, + "6":2, + "7":1.23456789012346e+19, + "8":2, + "9":null + } +} +{ + "object":{ + "type":"class2", + "value":"sample2" + }, + "array":{ + "0":"Много букв в кодировке windows-1251", + "1":{ + "id":1, + "label":"test1" + }, + "2":{ + "id":2, + "label":"test2" + }, + "3":{ + "Ключ":"Значение в windows-1251" + }, + "4":false, + "5":true, + "6":2, + "7":1.23456789012346e+19, + "8":"2.0", + "9":null + } +} +{ + "object":{ + "type":"class2", + "value":"sample2" + }, + "array":{ + "0":"Много букв в кодировке windows-1251", + "1":{ + "id":"1", + "label":"test1" + }, + "2":{ + "id":"2", + "label":"test2" + }, + "3":{ + "Ключ":"Значение в windows-1251" + }, + "4":false, + "5":true, + "6":"2", + "7":"12345678901234567890", + "8":2, + "9":null + } +} +{ + "object":{ + "value":"class1 sample1" + }, + "array":{ + "0":"Много букв в кодировке windows-1251", + "1":{ + "id":1, + "label":"test1" + }, + "2":{ + "id":2, + "label":"test2" + }, + "3":{ + "Ключ":"Значение в windows-1251" + }, + "4":false, + "5":true, + "6":2, + "7":1.23456789012346e+19, + "8":2, + "9":null + }, + "object_2":{ + "value":"class2 sample2" + } +} +{ + "0":1, + "1":{ + "value":"class1 3" + }, + "2":4 +} +{ + "0":1, + "1":{ + "type":"class1", + "value":"3" + }, + "2":4 +} \ No newline at end of file