I know this question is being asked a lot, but I could not find any case similar to mine.
So I have this array printed out of a JSON response:
Array
(
[contents] => {
"type": "XXXXXXXXXXXXXXX",
"previous": "XXXXXXXXXXXXXXX",
"destination": "XXXXXXXXXXXXXXX",
"balance": "XXXXXXXXXXXXXXX",
"work": "XXXXXXXXXXXXXXX",
"signature": "XXXXXXXXXXXXXXX"
}
)
I need to access the "destination" value, but keep getting an "invalid offset" error. How do I reach it? Thanks so much in advance!