How do I make a loop in a Json ?

Get help using Construct 2

Post » Fri May 23, 2014 10:51 pm

I get from a ajax the Json bellow:
{"nrQuestion":1,"lable":"Choose the correct country!","qtCorretas":1,"options":[{"nrOption":1,"country":"Canada","isCorrect":false},{"nrOption":2,"lable":"Brazil","isCorrect":true}]}

How Can I make a loop in order to to put each value in objects like XML in the image attachment ?

ExampleXML.png
You do not have the required permissions to view the files attached to this post.
B
4
Posts: 26
Reputation: 277

Return to How do I....?

Who is online

Users browsing this forum: Lancifer, Yahoo [Bot] and 4 guests