Update json.format.php
This commit is contained in:
parent
0d1925f168
commit
fde620cecc
|
@ -37,7 +37,7 @@ if(!check_function_exists("json_encode_ex")) {
|
||||||
}
|
}
|
||||||
$result = "{" . implode(",", $lines) . "}";
|
$result = "{" . implode(",", $lines) . "}";
|
||||||
} else {
|
} else {
|
||||||
$result = json_decode($data);
|
$result = json_encode($data);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user