77
rated 0 times
[
78]
[
1]
/ answers: 1 / hits: 109211
/ 8 Years ago, tue, february 23, 2016, 12:00:00
how I can sort my json file by name -> value? I want to show by asc value of tag name. Any idea how to convert my json file?
Here is how look my JSON file:
[{
id: 105,
name: FIAT,
active: true,
parentId: 1
}, {
id: 106,
name: AUDI,
active: true,
parentId: 1
}, {
id: 107,
name: BMW,
active: true,
parentId: 1
}, {
id: 109,
name: RENAULT,
active: true,
parentId: 1
}]
I will be grateful if someone help me. Thanks in advance.
More From » php