php get json file data 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);