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
27
S
16
G
80
Posts: 1,019
Reputation: 44,757


Return to How do I....?

Who is online

Users browsing this forum: AnD4D, Euduardo, mikehive, tinhofiel and 28 guests