Hi Alex,

I just tried toJSON method on object in JS and it failed with error that
those method do not exist. Did you mean something like this ? 

 var book:Book = new Book();
book.title = "Trump";

var toJSON:Object = book["toJSON"]();
var jsonString:String = JSON.stringify(toJSON);

If such function do not exist we can still do something with this ?

Thanks,
Piotr





-----
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/FlexJS-Issue-with-JSON-stringify-and-Bindable-VO-objects-tp61195p61208.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to