Android Question JSON.stringify

kepler

Active Member
Licensed User
Longtime User
Hi,

After some hard work, I've manage - sort of - to get a response of some facebook elements of the user.

Still, the script required to receive this information (in php, face style) requires that the Json result must be formated: usually with the javascript JSON.stringify

Example:

JSON.stringify({ x: 5, y: 6 }); returns '{"x":5,"y":6}' or '{"y":6,"x":5}'

Is there a automatic way of doing this, or must I create a code?

Also, is there a code in this forum which can list (or save in an array) both field names and values?

Regards,

Kepler
 
Top