-
trace out an object or json...
Hi writing an app that pulls data in from twitter that's returned in json. When I trace it out I get something like [object,Object][object,Object][object,Object]
Is it possible to see all the properties, names and data ect instead of just seeing "Object" ?
Thanks
Aidan
-
trace out an object or json
Hi Aidan,
You need to encode the Object into string using :-
import com.adobe.serialization.json;
var jsonString : String = JSON.encode(json); // Pass Your JSONObject
trace("Your jsonString is : " + jsonString);
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|