--- parser3/tests/results/256.processed 2011/05/18 02:16:10 1.3 +++ parser3/tests/results/256.processed 2015/09/18 00:40:19 1.9 @@ -1,5 +1,5 @@ Content-Type: text/html -Content-Length: 4982 +Content-Length: 5879

hash

{ @@ -33,10 +33,12 @@ Content-Length: 4982 }, { "value":"Fri, 18 Aug 2006 02:09:00 GMT" }, { +"value":"2006-08-18T06:09:00+3:00" +}, { "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":[], @@ -200,27 +202,27 @@ null, "vA\"", "vB\\" ] -} +}, "exception":"unsupported, must be 'array', 'object' or 'compact'. That's OK"

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-", @@ -240,16 +242,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-", @@ -268,15 +270,42 @@ 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"