--- parser3/tests/results/256.processed 2010/11/03 22:15:56 1.2 +++ parser3/tests/results/256.processed 2012/06/22 23:48:33 1.7 @@ -1,5 +1,5 @@ Content-Type: text/html -Content-Length: 4841 +Content-Length: 5839

hash

{ @@ -36,7 +36,7 @@ Content-Length: 4841 "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,25 +200,25 @@ 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, +"name":"zigi", "content-type":"application\/octet-stream", "mode":"text", "text":"file-content" }, "binary":{ "class":"file", -"name":"256.txt", "size":12, +"name":"256.txt", "content-type":"application\/octet-stream", "mode":"binary", "adate":"-value-", @@ -228,8 +228,8 @@ null, }, "stated":{ "class":"file", -"name":"256.txt", "size":12, +"name":"256.txt", "content-type":"application\/octet-stream", "adate":"-value-", "mdate":"-value-", @@ -238,16 +238,16 @@ null, }, { "text":{ "class":"file", - "name":"zigi", "size":12, + "name":"zigi", "content-type":"application\/octet-stream", "mode":"text", "base64":"ZmlsZS1jb250ZW50" }, "binary":{ "class":"file", - "name":"256.txt", "size":12, + "name":"256.txt", "content-type":"application\/octet-stream", "mode":"binary", "adate":"-value-", @@ -257,8 +257,8 @@ null, }, "stated":{ "class":"file", - "name":"256.txt", "size":12, + "name":"256.txt", "content-type":"application\/octet-stream", "adate":"-value-", "mdate":"-value-", @@ -268,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", +"size":12, +"name":"zigi", +"content-type":"application\/octet-stream", +"mode":"text" +}, +"binary":{ +"class":"file", +"size":12, +"name":"256.txt", +"content-type":"application\/octet-stream", +"mode":"binary", +"adate":"-value-", +"mdate":"-value-", +"cdate":"-value-" +}, +"stated":{ +"class":"file", +"size":12, +"name":"256.txt", +"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" +}