I have a json as shown below.I want to access the value of adult.However when i do echo json_decode($json_response, true); i get Array to string conversion.What is wrong here ?
{
"responses": [
{
"safeSearchAnnotation": {
"adult": "VERY_UNLIKELY",
"spoof": "VERY_UNLIKELY",
"medical": "UNLIKELY",
"violence": "LIKELY"
}
}
]
}