-
I'm using
To make this a bit easier to read, I would like to stringify the JSON to include a newline inbetween root-level posts. In other words, I'd like to stringify the above as this
I think the right approach is to use a visitor. Something like
but this fails for obvious reasons. Any help here would be greatly appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
eemeli
Dec 6, 2023
Replies: 1 comment 1 reply
-
Look for |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ben519
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Look for
spaceBefore
in the docs: https://eemeli.org/yaml