for pretty-format-json add option: --empty-object-with-newline

This commit is contained in:
Andreas Scheucher 2023-08-13 20:01:12 +02:00
parent 61b5f7e6f7
commit 496e23dea6
4 changed files with 82 additions and 1 deletions

View file

@ -0,0 +1,17 @@
{
"empty": {
},
"inhabited": {
"person": {
"name": "Roger",
"nested_empty_with_comma": {
},
"array": [
{
"nested_empty_in_array": {
}
}
]
}
}
}

View file

@ -0,0 +1,14 @@
{
"empty": {},
"inhabited": {
"person": {
"name": "Roger",
"nested_empty_with_comma": {},
"array": [
{
"nested_empty_in_array": {}
}
]
}
}
}