Skip to content
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

NULL values are implicitly serialized #10

Open
blag opened this issue Oct 10, 2018 · 0 comments
Open

NULL values are implicitly serialized #10

blag opened this issue Oct 10, 2018 · 0 comments

Comments

@blag
Copy link
Contributor

blag commented Oct 10, 2018

Converting null values is difficult because the ruamel package doesn't explicitly serialize None to null - it simply leaves the value blank.

Observe:

input:
  - foo
  - bar
  - baz: null

Which reserializes to:

input:
  - foo
  - bar
  - baz:  # implicit null

Luckily empty values are deserialized to None anyway, so this doesn't break anything, but it does impact readability.

This is reported in ruamel issue #169.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant