How do I parse this JSON with PHP:


enter image description here

There are some metadata in there and json_decode is not working.

Please advice me on this.


That's not a JSON. It's a serialized array.
You can turn it into an array by calling $arr = unserialize($yourVarName).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.