Closed arnaudh closed 2 years ago
The closing bracket for the inner dict is confusingly aligned with the whole object's starting bracket:
julia> JSON3.@pretty Dict("a" => 1, "b" => Dict()) { "b": { }, "a": 1 }
Note if the dict is non-empty, this is not an issue and the bracket aligns with the inner dict's opening bracket:
julia> JSON3.@pretty Dict("a" => 1, "b" => Dict("c" => 2)) { "b": { "c": 2 }, "a": 1 }
The closing bracket for the inner dict is confusingly aligned with the whole object's starting bracket:
Note if the dict is non-empty, this is not an issue and the bracket aligns with the inner dict's opening bracket: