KalleMP
0
Q:

parse json phph

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

$person = json_decode($personJSON);

echo $person->name; // Johny Carson
8
echo json_decode("[1,2,3]")[0];
0

New to Communities?

Join the community