Код: Выделить всё
[
{
"name": "First object",
"info": [
"2 people",
"this is a description"
]
},
{
"name": "Second object",
"info": [
"this is a description",
"1 furniture"
]
},
{
"name": "Third object",
"info": [
"3 animals",
"this is a description"
]
},
]
1 furniture - Second object
2 people - First object
3 animals - Third object
< /code>
Придется ли мне пройти через весь массив, или есть более простой способ сделать это? Любая помощь будет оценена, поэтому я могу обернуть голову.>
Подробнее здесь: https://stackoverflow.com/questions/794 ... ild-object