<?php echo json_encode(array("user" => "chandra", "details" => array("age" => 21, "sex" => "male")));
You have javascript disabled. You will not be able to edit any code.