master
<?php /*mime type para el contenido*/ header('Content-type: application/json'); echo json_encode($data);