Answers for "what happens when we load a json in php"

PHP
2

access json with php

<?php

$data = '{
	"name": "Aragorn",
	"race": "Human"
}';

$character = json_decode($data);
echo $character->name;
Posted by: Guest on August-20-2020

Code answers related to "what happens when we load a json in php"

Browse Popular Code Answers by Language