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
Yes, you can explicitly use your own YamlPrinter instance to control the format. For your specific case, there's already a built-in option to output inline lists:
I want to serialize my yaml list inline, rather than producing to the more common multi-line rendering.
Want:
Default:
It doesn't seem like this kind of serialization is documented, but I was wondering if it is supported at all.
More broadly, is there a way to hook into the printing process to dictate how
YamlValue
objects are rendered?The text was updated successfully, but these errors were encountered: