Skip to content

Specification is not clear about null handling for Collections #118

Open
@bravehorsie

Description

@bravehorsie

The specification document is clear about null serialization for Arrays (section 3.14.2) however it is not clear about nulls and collections.

Yasson by default omits javabean properties with null values during serialization, but treats collections same as arrays, resulting in preserving nulls for them in JSON document. Is that behaviour correct? If so can section 3.14.2 be updated to include collections?

Related to: eclipse-ee4j/yasson#233

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationInvolves the spec or javadocsenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions