json.php
Source of json.php
<?php
$characters = array(
"jd" => array(
"first" => "John",
"last" => "Dorian",
"age" => 32,
"occupation" => "Attending Physician"),
"elliot" => array(
"first" => "Elliot",
"last" => "Reid",
"age" => 30,
"occupation" => "Private Practice Physician"),
"turk" => array(
"first" => "Christopher",
"last" => "Turk",
"age" => 31,
"occupation" => "Attending Surgeon"),
"bob" => array(
"first" => "Robert",
"last" => "Kelso",
"age" => 65,
"occupation" => "Chief of Medicine")
);
print (json_encode($characters));
?>