Answers for "write a php script which decodes the following json string"

PHP
19

php json_decode

$personJSON = '{"name":"Johny Carson","title":"CTO"}';

$person = json_decode($personJSON);

echo $person->name; // Johny Carson
Posted by: Guest on July-01-2019
0

php decode json file

$personJSON = '{"name":"Johny Carson","title":"CTO"}';

$person = json_decode($personJSON);

echo $person->name; // Johny Carson
Posted by: Guest on March-15-2020

Code answers related to "write a php script which decodes the following json string"

Browse Popular Code Answers by Language