get content from json object php code example
Example: php return json data
header('Content-Type: application/json');
$colors = array("red","blue","green");
echo json_encode($colors);
header('Content-Type: application/json');
$colors = array("red","blue","green");
echo json_encode($colors);