How do I access data Array in json

Get help using Construct 2

Post » Thu Sep 24, 2015 9:21 am

Hello developers.

I want to use data structure array in json.

for example,

in Javascript

var obj = [{id: 1, name: 'good'}];

console.log(obj[0].id);
output : 1

How to express in Construct 2?
B
4
Posts: 16
Reputation: 232

Post » Thu Sep 24, 2015 9:59 am

ImageImageImage
B
46
S
23
G
89
Posts: 1,106
Reputation: 50,658


Return to How do I....?

Who is online

Users browsing this forum: Skolas3654 and 2 guests