I am not too familiar with javascript. Can someone please explain this construct to me?
[{a:"asdfas"},{a:"ghdfh",i:54},{i:76,j:578}]
What does this construct declare? I can see that this is an array that consists of 3 elements, right? And every element in this array is a class, which is declared in JSON format, isn’t it? And I do not need to use any scripts to use JSON, do I?
It’s simply an array composed of 3 elements. Each element is an object. The first one has the
akey with associated ‘asdfas’ value. The second one i key with 54 value etc etcit could be built in this way :