Answer the question
In order to leave comments, you need to log in
Do keys preserve order in a JSON object?
The point is this. At work, I'm editing a product catalog. A lot of properties are passed from the back. I need to access individual keys and use them in different places on the page. The data format is:
props: {
"action": true,
"brand": "prada",
...
}
propList: [
{name: "Бренд", value: "prada"},
...
]
propList: {
brand: {name: "Бренд", value: "prada"},
...
}
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