0
JSON object to php array
Hi guys , How to convert this json object to php array ? "[{\"name\":\"andy\",\"age\":259,\"count\":1},{\"name\":\"bill\",\"age\":299,\"count\":5},{\"name\":\"john\",\"age\":499,\"count\":4}]"
3 Answers
0
use json_decode()
0
$array = json_decode($json, true);
print_r($array);
0
Ok , thanks guys