Answers for "how to print json decode data in php console"

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 json decode

$obj = json_decode("{string:'string'}");
Posted by: Guest on March-08-2021

Code answers related to "how to print json decode data in php console"

Browse Popular Code Answers by Language