Tuesday, August 7, 2012

Validate Json...and convert to array in PHP



You can validate JSON using http://jsonlint.com/ and to convert to array use json_decode($output, true);

For more details http://php.net/manual/en/function.json-decode.php

No comments:

Post a Comment