[Solved] How do I Load this Json String into an array/list

Get help using Construct 2

Post » Thu Jun 25, 2015 9:39 pm

Hello,

I'm trying to integrate an existing system with construct, I need to pass onto construct the userdata when the game opens...

I send it this Json string and tried loading it in the array

{"id":"1","email":"[email protected]","senha":"3bffa4ebdf4874e506c2b12405796aa5","nome":"S\u00e9rgio Massa","sexo":"m","datanascimento":"17\/07\/1984","tickets":"0"}

But for some reason every time I try to access any of the data using At it only returns a blank string. What am I doing wrong?

Thanks...
Last edited by smassa on Fri Jun 26, 2015 8:40 pm, edited 2 times in total.
B
7
S
1
Posts: 27
Reputation: 479

Post » Fri Jun 26, 2015 10:46 am

B
66
S
24
G
7
Posts: 1,515
Reputation: 11,041

Post » Fri Jun 26, 2015 8:39 pm

thank you! exactly what I needed...
B
7
S
1
Posts: 27
Reputation: 479


Return to How do I....?

Who is online

Users browsing this forum: Kin, oosyrag and 41 guests