Answer the question
In order to leave comments, you need to log in
How to output JSON with the same keys?
Good afternoon !
How to output JSON array. If the keys are the same.
[
{
"model": "Jeep Grand Cherokee 2001",
"detal": "Компрессор кондиционера",
"dop": {
"nam": "ARF-60",
"sum": "1000",
"img": "/normal/60_1.jpeg",
"info": "green"
}
},
{
"model": "Toyota Land Cruiser 120 2003",
"detal": "Генератор",
"dop": {
"nam": "ARF-95",
"sum": "2300",
"img": "/normal/60_1.jpeg",
"info": "green"
}
},
{
"model": "Toyota Land Cruiser 120 2003",
"detal": "Генератор",
"dop": {
"nam": "ARF-101",
"sum": "3080",
"img": "/normal/60_1.jpeg",
"info": "green"
}
},
{
"model": "Jeep Grand Cherokee 2001",
"detal": "Датчик",
"dop": {
"nam": "ARF-102",
"sum": "4500",
"img": "/normal/60_1.jpeg",
"info": "dzerzhinsky"
}
}
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question