Skip to content

NULL values are implicitly serialized #10

@blag

Description

@blag

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions