Skip to content

Unmarshalling objects with AdditionalProperties results in nil for empty maps. #324

@alehed

Description

@alehed

When unmarshalling the follwing two json objects

{
    "dict": null
}
{
    "dict": {}
}

they both result in structs where AdditionalProperties is nil.

Ideally the second one would result in an AdditionalProperties which contains an empty map.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions