I have a json record like blow
[{"low":null,"high":10,"type":2,"value":0},{"low":10,"high":60,"type":1,"value":10},{"low":60,"high":null,"type":2,"value":11}]
I would like to create array using this. i tried json_decode its not help i just want create a associative array from this json
any help
thank you
Make sure you’re passing
trueto the second parameter injson_decode(), which specifies that you want an associative array returned.