Update json.format.php

This commit is contained in:
Namhyeon Go 2019-10-15 20:45:32 +09:00 committed by GitHub
parent 0d1925f168
commit fde620cecc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ if(!check_function_exists("json_encode_ex")) {
}
$result = "{" . implode(",", $lines) . "}";
} else {
$result = json_decode($data);
$result = json_encode($data);
}
return $result;