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

ImageImage
B
27
S
16
G
67
Posts: 934
Reputation: 38,072


Return to How do I....?

Who is online

Users browsing this forum: matrixreal, rotacak and 6 guests