decode json for php array online code example
Example 1: php decode json file
$json = json_decode(file_get_contents('/path/to/your/file.json'));
Example 2: php json decode
$obj = json_decode("{string:'string'}");
$json = json_decode(file_get_contents('/path/to/your/file.json'));
$obj = json_decode("{string:'string'}");