I am trying to access json array but still failed. I have following array
{
"response": {
"error": [
"name is already exists",
"email@gmail.com is already exists"
]
}
}
I know this is very common question and already there are hundreds of answers and tutorials but i am still failed. So can someone kindly guide me. I would like to appreciate.
I have tried following script but it showing undefined
response.error
response.error[0]
response['error'][0]