--- parser3/tests/results/256.processed 2011/11/23 12:30:29 1.4
+++ parser3/tests/results/256.processed 2012/06/22 02:17:04 1.6
@@ -1,5 +1,5 @@
Content-Type: text/html
-Content-Length: 4982
+Content-Length: 5892
hash
{
@@ -36,7 +36,7 @@ Content-Length: 4982
"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,19 +200,19 @@ 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",
"size":12,
"name":"zigi",
-"mode":"text",
"content-type":"application\/octet-stream",
+"mode":"text",
"text":"file-content"
},
"binary":{
@@ -231,6 +231,7 @@ null,
"size":12,
"name":"256.txt",
"content-type":"application\/octet-stream",
+"mode":"binary",
"adate":"-value-",
"mdate":"-value-",
"cdate":"-value-"
@@ -240,8 +241,8 @@ null,
"class":"file",
"size":12,
"name":"zigi",
- "mode":"text",
"content-type":"application\/octet-stream",
+ "mode":"text",
"base64":"ZmlsZS1jb250ZW50"
},
"binary":{
@@ -260,6 +261,7 @@ null,
"size":12,
"name":"256.txt",
"content-type":"application\/octet-stream",
+ "mode":"binary",
"adate":"-value-",
"mdate":"-value-",
"cdate":"-value-"
@@ -268,15 +270,43 @@ 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",
+"mode":"binary",
+"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"