Answers for "how to output an array after json decoding it"

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

parse json phph

echo json_decode("[1,2,3]")[0];
Posted by: Guest on January-15-2020

Code answers related to "how to output an array after json decoding it"

Browse Popular Code Answers by Language