🎨 Prend en compte l'encodage pour JSON

This commit is contained in:
Shikiryu 2017-11-03 08:28:29 +01:00
parent c078fc1c68
commit c0c02459f8

View File

@ -315,7 +315,7 @@ class Deal
$method = sprintf('get%s', ucfirst($prop->getName()));
$json[$prop->getName()] = $this->$method();
}
return \json_encode($json);
return \json_encode($json, JSON_UNESCAPED_UNICODE);
}
/**