Enhancement the prettyprinting feature of the eden serializer.
Add an option to return a string with the format :
{{{
prop1 = 2 ;
prop2 = 3 ;
prop3 = "hello world" ;
prop4 =
[
{ prop5:"foo" , prop6:"bar" }
]
}}}
With the code :
{{{
import system.eden ;
// >> eden.printMode = ???? <<
var o:Object =
{
prop1 : 2 ,
prop2 : 3 ,
prop3 : "hello world" ,
prop4 : [ { prop5:"foo" , prop6:"bar" } ]
};
trace( eden.serialize( o ) ) ;
}}}
See the name of the attribute to change the mode of serialization
Original issue reported on code.google.com by ekamel...@gmail.com on 14 Mar 2009 at 10:36
Original issue reported on code.google.com by
ekamel...@gmail.com
on 14 Mar 2009 at 10:36