-
-
Notifications
You must be signed in to change notification settings - Fork 776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
writer: provide option where null values are just empty. #570
Comments
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 |
I think I could help myself but it looks hacky:
|
Fixed in 421ed22 (located in dev branch at the moment). Normally, I'd advise to override |
If empty gets read as
null
, it should at least optionally be possible to also writenull
as empty.The text was updated successfully, but these errors were encountered: