Answers for "take a json and convert to object php"

PHP
5

php return json

header('Content-type: application/json');
echo json_encode($array);
Posted by: Guest on March-20-2020
0

parse json phph

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

Code answers related to "take a json and convert to object php"

Browse Popular Code Answers by Language