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
35
S
20
G
85
Posts: 1,056
Reputation: 47,996


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests