Sorry, brand new to JSON, need some help.
I receive the following JSON array as a result from my API and need to get the very first string of numbers (= entity ID), which just so happens to not be a key or value. How can I get only that number in PHP while ignoring everything else?
Result:
"aa7a5d31-6114-47b5-a30c-27ad724cf212"{ // <-- this is what I need
"statusCode":200,
"effectiveUri":"https:\/\/workmail.eu-west-1.amazonaws.com",
"headers":{
"x-amzn-requestid":"long-number-code",
"content-type":"application\/x-amz-json-1.1",
"content-length":"49",
"date":"Mon, 28 Jun 2021 13:46:18 GMT"
},
"transferStats":{
"http":[
[
]
]
}
}
Thanks