You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when the serializer does "push and indent" for entering mapping/sequence, there is always a newline inserted see code, which leads to extra blank lines.
e.g. Map("foo" -> Seq(Map("bar" -> 123))).asYaml
goes to:
foo:
-
bar: 123
It would be nice to avoid the extra blank line specifically when the first entry of a sequence is a mapping. (it is fine for scalar values)
perhaps this could be configurable if there is a possibility of conflict
The text was updated successfully, but these errors were encountered:
bishabosha
changed the title
Extra blank line when mapping inside of sequence
Extra blank line when serializing mapping inside of sequence
Dec 10, 2024
when the serializer does "push and indent" for entering mapping/sequence, there is always a newline inserted see code, which leads to extra blank lines.
e.g.
Map("foo" -> Seq(Map("bar" -> 123))).asYaml
goes to:
It would be nice to avoid the extra blank line specifically when the first entry of a sequence is a mapping. (it is fine for scalar values)
perhaps this could be configurable if there is a possibility of conflict
The text was updated successfully, but these errors were encountered: