This commit is contained in:
Illya Marchenko 2023-12-12 14:10:29 +02:00
parent e0cfb144a3
commit c3f68c9d77
Signed by: stuzer05
GPG Key ID: A6ABAAA9268F9F4F

View File

@ -10,7 +10,7 @@ $minify_json = $input['minify_json'];
try {
eval("\$data_array = {$data};");
$json = @json_encode($data_array, $minify_json ? null : JSON_PRETTY_PRINT);
$json = @json_encode($data_array, JSON_UNESCAPED_UNICODE | ($minify_json ? null : JSON_PRETTY_PRINT));
echo json_encode([
'data' => $json,