mirror of
https://github.com/Noratrieb/jsonformat.git
synced 2026-01-14 14:15:03 +01:00
added blank line
This commit is contained in:
parent
34b49d736c
commit
96bfb05a4d
1 changed files with 1 additions and 0 deletions
|
|
@ -37,6 +37,7 @@ pub fn format_json(json: &str, indentation: Option<&str>) -> String {
|
|||
let mut auto_push = true;
|
||||
let mut request_newline = false;
|
||||
let old_level = indent_level;
|
||||
|
||||
match char {
|
||||
'"' => in_string = true,
|
||||
' ' | '\n' | '\t' => continue,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue