Accessing JSON file from assets in Flex Accessing JSON file from assets in Flex json json

Accessing JSON file from assets in Flex


Use the below code its working for me.

Insted of this code

var arr:Object = com.adobe.serialization.json.JSON.decode(json);

Use this one

var arr:Object = JSON.decode(json);

and import the below package

import com.adobe.serialization.json.JSON;