--- t/19_incr.old 2010-12-20 02:41:45.000000000 -0500 +++ t/19_incr.t 2013-03-22 17:57:34.000000000 -0400 @@ -34,10 +34,10 @@ -splitter +JSON->new , ' ["x\\"","\\u1000\\\\n\\nx",1,{"\\\\" :5 , "": "x"}]'; -splitter +JSON->new , '[ "x\\"","\\u1000\\\\n\\nx" , 1,{"\\\\ " :5 , "": " x"} ] '; -splitter +JSON->new->allow_nonref, '"test"'; -splitter +JSON->new->allow_nonref, ' "5" '; +splitter +JSON->new->canonical , ' ["x\\"","\\u1000\\\\n\\nx",1,{"\\\\" :5 , "": "x"}]'; +splitter +JSON->new->canonical , '[ "x\\"","\\u1000\\\\n\\nx" , 1,{"\\\\ " :5 , "": " x"} ] '; +splitter +JSON->new->allow_nonref->canonical, '"test"'; +splitter +JSON->new->allow_nonref->canonical, ' "5" ';