Hi All, It look like we have issue in FlexJS with quite common scenario where JSON.stringify cannot create json from simple VO object which has been marked by [Bindable] property.
Description: I have following class [1], which after compilation has additional properties: <http://apache-flex-development.2333347.n4.nabble.com/file/n61195/object_compiled.png> In the results JSON.stringify is failing to convert object to a proper JSON [2], on swf sight there is no problem with such object. I think creating JSON from object which is marked as [Bindable] will be quite common cases and need to be resolved. Two propositions. Proposition 1: 1) Create our own JSON class with stringify function 2) Create on the compiler sight array called "excluded" which will contains all additional properties which has been created during compilation 3) In our JSON.stringify use JS version of stringify with second parameter in following manner [3]. Proposition 2: 1) Same as above 2) Use "accessors" property from FLEXJS_REFLECTION_INFO [4] to determine all properties from VO 3) Inside our "stringify" function create simple object based on information from "accessors" and pass that object to JSON.stringify({title: "my title", page: 5}). [1] https://paste.apache.org/fuSA [2] https://paste.apache.org/CyqY [3] https://paste.apache.org/9GlW [4] https://paste.apache.org/gpbR I would be appreciated for feedback and other ideas. 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-tp61195.html Sent from the Apache Flex Development mailing list archive at Nabble.com.