--- parser3/tests/results/256.processed 2010/09/29 03:43:57 1.1 +++ parser3/tests/results/256.processed 2013/07/04 13:03:24 1.8 @@ -1,5 +1,5 @@ Content-Type: text/html -Content-Length: 3982 +Content-Length: 5839

hash

{ @@ -36,7 +36,7 @@ Content-Length: 3982 "value":"2006-08-18 06:09:00" }, { "value":"new Date(1155866940)" -} +}, "exception":"unsupported, must be 'sql-string', 'gmt-string' or 'unix-timestamp'. That's OK"

table

{ "table_nameless_empty":[], @@ -58,7 +58,9 @@ Content-Length: 3982 "table_named_3":[ {"c1":"v1","c2":"v2","c3":"v3"}, {"c1":"v4","c2":"v5","c3":"v6"}, -{"c1":"v7","c2":"v8","c3":"v9","3":"v0"} +{"c1":"v7","c2":"v8","c3":"v9","3":"v0"}, +{"c1":"vA\""}, +{"c1":"vB\\"} ] }, { "table_nameless_empty":[], @@ -80,7 +82,9 @@ Content-Length: 3982 "table_named_3":[ {"c1":"v1","c2":"v2","c3":"v3"}, {"c1":"v4","c2":"v5","c3":"v6"}, - {"c1":"v7","c2":"v8","c3":"v9","3":"v0"} + {"c1":"v7","c2":"v8","c3":"v9","3":"v0"}, + {"c1":"vA\""}, + {"c1":"vB\\"} ] }, { "table_nameless_empty":[ @@ -111,7 +115,9 @@ null, ["c1","c2","c3"], ["v1","v2","v3"], ["v4","v5","v6"], -["v7","v8","v9","v0"] +["v7","v8","v9","v0"], +["vA\""], +["vB\\"] ] }, { "table_nameless_empty":[ @@ -142,29 +148,79 @@ null, ["c1","c2","c3"], ["v1","v2","v3"], ["v4","v5","v6"], - ["v7","v8","v9","v0"] + ["v7","v8","v9","v0"], + ["vA\""], + ["vB\\"] ] -} +}, { +"table_nameless_empty":[], +"table_nameless_1":[ +["v1","v2","v3"] +], +"table_nameless_2":[ +["v1","v2","v3"], +["v4","v5","v6"] +], +"table_named_empty":[], +"table_named_1":[ +["v1","v2","v3"] +], +"table_named_2":[ +["v1","v2","v3"], +["v4","v5","v6"] +], +"table_named_3":[ +["v1","v2","v3"], +["v4","v5","v6"], +["v7","v8","v9","v0"], +"vA\"", +"vB\\" +] +}, { + "table_nameless_empty":[], + "table_nameless_1":[ + ["v1","v2","v3"] + ], + "table_nameless_2":[ + ["v1","v2","v3"], + ["v4","v5","v6"] + ], + "table_named_empty":[], + "table_named_1":[ + ["v1","v2","v3"] + ], + "table_named_2":[ + ["v1","v2","v3"], + ["v4","v5","v6"] + ], + "table_named_3":[ + ["v1","v2","v3"], + ["v4","v5","v6"], + ["v7","v8","v9","v0"], + "vA\"", + "vB\\" + ] +}, "exception":"unsupported, must be 'array', 'object' or 'compact'. That's OK"

my

{ -"object":"my" -} +"object":"my at key object, with 1 option" +}, "exception":"string, called with invalid option. That's OK", "exception":"string, $.my must be parser method with 3 parameters. That's OK"

file

{ "text":{ "class":"file", "name":"zigi", "size":12, -"content-type":"application\/octet-stream", "mode":"text", +"content-type":"application\/octet-stream", "text":"file-content" }, "binary":{ "class":"file", "name":"256.txt", "size":12, -"content-type":"application\/octet-stream", "mode":"binary", +"content-type":"application\/octet-stream", "adate":"-value-", "mdate":"-value-", "cdate":"-value-", @@ -184,16 +240,16 @@ null, "class":"file", "name":"zigi", "size":12, - "content-type":"application\/octet-stream", "mode":"text", + "content-type":"application\/octet-stream", "base64":"ZmlsZS1jb250ZW50" }, "binary":{ "class":"file", "name":"256.txt", "size":12, - "content-type":"application\/octet-stream", "mode":"binary", + "content-type":"application\/octet-stream", "adate":"-value-", "mdate":"-value-", "cdate":"-value-", @@ -212,12 +268,45 @@ null, "text":{"file":{"name":"zigi", "text":"file-content", "params":"-params-"}}, "binary":{"file":{"name":"256.txt", "text":"file-content", "params":"-params-"}}, "stated":{"file":{"name":"256.txt", "text":"", "params":"-params-"}} +}, { +"text":{ +"class":"file", +"name":"zigi", +"size":12, +"mode":"text", +"content-type":"application\/octet-stream" +}, +"binary":{ +"class":"file", +"name":"256.txt", +"size":12, +"mode":"binary", +"content-type":"application\/octet-stream", +"adate":"-value-", +"mdate":"-value-", +"cdate":"-value-" +}, +"stated":{ +"class":"file", +"name":"256.txt", +"size":12, +"content-type":"application\/octet-stream", +"adate":"-value-", +"mdate":"-value-", +"cdate":"-value-" } +}, "exception":"unsupported, must be 'base64', 'text' or 'stat'. That's OK"

image

{ "value":null }, { "value":"image []" -}, Exception. That's OK (Unsupported value's type (image)) +}, "exception":"string, Unsupported value's type (image). That's OK"

hash_with_infinite_recursion

-Exception. That's OK (call canceled - endless json recursion detected) +"exception":"string, call canceled - endless json recursion detected. That's OK" +

xdoc

+{ +"value":"\n<\/r>\n" +}, { +"value":"\n \n<\/r>\n" +}