Skip to content

naming conflicts when using the CamelCasePropertyNamesContractResolver #21

@drpeck

Description

@drpeck

Taking Organisation as an example, there is an Address properties and an Addresses properties with [JsonProperty("address")] attached.

If your app use the CamelCasePropertyNamesContractResolveras the ContractResolver then Address and Addresses are both given the name "address" and you get an exception thrown. It would be better if [JsonIgnore] were applied to Address. This is probably not the only issue where this conflict exists.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions