Source Code:
(back to article)
<?php $json = '{"name":"John", "age":30, "city":"New York"}'; $array = json_decode($json, true); print_r($array); ?>
Result:
Report an issue