How do I use the old JSON.encode() function from Flex 4.5 - from libs/corelib.swc (import com.adobe.serialization.json.*) ?
I have it working fine in 4.5, but in 4.6 there's a new JSON decode function and JSON.stringify is barfing up errors:
Unknown Property: 'dispatchResetEvent'
at ..\frameworks\projects\framework\src\mx\collections\ListCollectionVie w.as:870
Since the old JSON.decode() is a static function, how can I declare it and use it in 4.6? do I need a namespace? I'm getting compile errors in 4.6.
thanks,
I was able to compare to another project and found that some additional swcs were loaded in - so i added both as SWC folders in the project settings:
E:\Adobe Creative Cloud\Adobe Flash Builder 4.7\eclipse\plugins\com.adobe.flexbuilder.project_4.7.0.349722\dcradS wcs\4.5\libs
- fds.swc
- serializers.swc
E:\Adobe Creative Cloud\Adobe Flash Builder 4.7\eclipse\plugins\com.adobe.flexbuilder.project_4.7.0.349722\dcradS wcs\4.5\locale\{locale}
- fds_rb.swc
- serializers_rb.swc
North America
Europe, Middle East and Africa
Asia Pacific