How do I reach to complex JSON value

Get help using Construct 2

Post » Tue Sep 13, 2016 8:57 am

So i have follow json structure and using JSON plugin of Yann i need get values of name and position

Code: Select all
{"status":true,"message":"","data":{"prize":{"name":"BONUS","description":"BONUS 25","image":"cash","promo_code":"","position":15}}}


i try with JSON.Value(0,"data","prize","position"), but its not working.
B
3
Posts: 2
Reputation: 181

Post » Tue Sep 13, 2016 10:38 am

mastercho wrote:
Code: Select all
{"status":true,"message":"","data":{"prize":{"name":"BONUS","description":"BONUS 25","image":"cash","promo_code":"","position":15}}}


i try with JSON.Value(0,"data","prize","position"), but its not working.


works for me...

Image

Image
B
67
S
24
G
7
Posts: 1,518
Reputation: 11,072

Post » Tue Sep 13, 2016 10:58 am

Ah sorry i forgot to put load JSON AJAX.LastData

Thank you so much!
B
3
Posts: 2
Reputation: 181


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 7 guests