This repository was archived by the owner on Nov 30, 2025. It is now read-only.
Repository navigation
Are Multiple Sequence Styles Possible In Output? #707
|
Is there a way to serialize to YAML that is formatted like the following, where root:
children:
- child1:
aliases: ["name1", "name2"]
pages: ["4", "6-7"]
children:
- child2:
...
- child3:
... |
Answered by
charleskorn
May 31, 2025
Replies: 1 comment
|
This currently isn't supported. However, something similar was added for controlling the quoting of scalar values with an annotation in #596, so I'd be open to a PR like that to make the style configurable for sequences. |
0 replies
Answer selected by
adamsmd
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This currently isn't supported. However, something similar was added for controlling the quoting of scalar values with an annotation in #596, so I'd be open to a PR like that to make the style configurable for sequences.