Skip to content

(Nullable) Attribute for not serializing property or a field if it is Null #451

@ads69

Description

@ads69

Hi,
When working with Nullable types it would be nice to have a new attribute to serialize only non null fields (or properties), empty arrays, null sub objects.
In this case the resulting json could be significantly reduced in size and reduce network bandwidth.
Best regards

Armindo

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions