I have a json file with this element:
{
"id":"1",
"nombre":"Luis",
"Descripción":"Alumno"
}
The php file looks like this:
<?php
$json = file_get_contents("json.json");
$data = json_decode($json,true);
var_dump($data);
?>
Well, the var_dump
tells me it's NULL. Any solution?