I am getting json response from a 3rd party vendor as json reponse which contains some extra brackets and braces example:
$data= \GuzzleHttp\json_decode(curl_exec($ch),true);
output is :
"description" => """Hey guys,
Adobe Photoshop CS6
Apple Final Cut Pro X
ScreenFlow"""
Or some times like this :
)]}' {"key":["
Updated Example:
)]}' {
"names": [
"a",
"b",
"c",
"d"
],
"val": "data1",
"bool": true
}
Why this kind of response I am getting ?