Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php json encode

$person = array( 
    "name" => "Johny Carson", 
    "title" => "CTO"
); 
$personJSON=json_encode($person);//returns JSON string
 
PREVIOUS NEXT
Tagged: #php #json #encode
ADD COMMENT
Topic
Name
6+6 =