remove legacy json format function (#12583)

* remove legacy json format function

* remove silly use
This commit is contained in:
Tony Murray
2021-03-04 07:55:41 -06:00
committed by GitHub
parent e4e2113585
commit 6e19805bcb
65 changed files with 84 additions and 206 deletions

View File

@@ -58,4 +58,4 @@ foreach (dbFetchRows($sql, $param) as $routing) {
}
$output = ['current'=>$current, 'rowCount'=>$rowCount, 'rows'=>$response, 'total'=>$total];
echo _json_encode($output);
echo json_encode($output, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE);