Patrick Patrick - 1 year ago 160
JSON Question

PHP json_decode multiple objects (orders)

I have the following string from all orders I have to import:


How can I decode every order with all elements?
The output is from an array which is json-encoded.

Answer Source

You can use json_decode

$array = json_decode($json, true);
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download