Answers for "php get object josn"

PHP
0

php get object josn

$json = '
{
    "type": "donut",
    "name": "Cake"
}';

$yummy = json_decode($json);

echo $yummy->type; //donut
Posted by: Guest on October-12-2021

Browse Popular Code Answers by Language