flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From piotrz <piotrzarzyck...@gmail.com>
Subject Re: [FlexJS] Issue with JSON.stringify and Bindable VO objects
Date Sat, 22 Apr 2017 06:56:39 GMT
Hi Greg,

Reading your code we landed again to giving our VO some kind of interface ?
If yes, that's resolve issue, but it won't be to handy. I don't want to
implement by my VO any interface - I just wanted to have function toJSON -
which is recognizable by deserializer default.

var book:Book = new Book();

var str:String = JSON.stringify(book) - inside stringify toJSON is being
called if exists.


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

View raw message