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
{{ message }}
Repository navigation
writer: provide option where null values are just empty. #570
Fixed in 421ed22 (located in dev branch at the moment).
Normally, I'd advise to override null schema. But some other parsers (namely, psych and ruamel.yaml) serialize null this way, so it makes sense to at least provide an option.
Activity
puzrin commentedon Jul 23, 2020
https://github.com/nodeca/js-yaml#safedump-object---options-
There are styles to select dumping formats when possible. IMO you can create schema with customize
nulltype, if existing not enoughGiszmo commentedon Jul 23, 2020
I think I could help myself but it looks hacky:
Add 'empty' style option for !!null
rlidwka commentedon Dec 10, 2020
Fixed in 421ed22 (located in dev branch at the moment).
Normally, I'd advise to override
nullschema. But some other parsers (namely,psychandruamel.yaml) serialize null this way, so it makes sense to at least provide an option.