Answers for "json_encode example php"

PHP
9

php json_encode

$person = array( 
    "name" => "Johny Carson", 
    "title" => "CTO"
); 
$personJSON=json_encode($person);//returns JSON string
Posted by: Guest on July-01-2019
0

php array json encode key and value

json_encode($thearray, JSON_FORCE_OBJECT)
Posted by: Guest on August-15-2021

Browse Popular Code Answers by Language