0
rated 0 times
[
1]
[
1]
/ answers: 1 / hits: 35699
/ 8 Years ago, tue, march 1, 2016, 12:00:00
Say if you were unable to access a certain item inside an object through dot notation like objectName.objectItem
i.e. it has random name al the time. Is there a way to alternatively access it like second item?
how to get item2 from this object by only knowing that it is second item there?:
something: {
item1: text,
item2: text,
item3: text:,
...
}
More From » json