-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hey thanks for the great code.I am able to sort json using your code.But it was unable to sort when i have key-value which is nested .
For Example:
{
"Actors": [
{
"name": "Tom Cruise",
"age": 56,
"Born At": "Syracuse, NY",
"Birthdate": "July 3, 1962",
"photo": "https://jsonformatter.org/img/tom-cruise.jpg",
"wife": null,
"weight": 67.5,
"hasChildren": true,
"hasGreyHair": false
},
{
"name": "Robert Downey Jr.",
"age": 53,
"Born At": "New York City, NY",
"Birthdate": "April 4, 1965",
"photo": "https://jsonformatter.org/img/Robert-Downey-Jr.jpg",
"wife": "Susan Downey",
"weight": 77.1,
"hasChildren": true,
"hasGreyHair": false,
"children": [
{
"name":"Tom",
"age":15
},
{
"name":"Jerry",
"age":17
}
]
}
]
}
I would like to sort based children[I].name.
Metadata
Metadata
Assignees
Labels
No labels