Got the output result in json nested array.
Help to access the USER-id of this json format .
var result = {
"USER": {
"id": "11456",
"email": "[email protected]",
"name": "g"
},
"status": "true",
"group-title": "title",
"group-name": "2-Group"
}
{"status":"true","USER":{"id":"11456","name":"g","email":"[email protected]"}, "group-name":"2-Group","group-title":"title"}console.log(result.USER.id)