Skip to content

Using RequireNonOptionalPropertiesContractResolver causes invalid dictionary serialization #92

Description

@tmoers

I've noticed a bug that when you serialize a dictionary, e.g. something like

type Dto =
        { ints : IDictionary<string, int> }

in combination with the RequireNonOptionalPropertiesContractResolver serializes json
where all the dictionary keys are converted to lowercase.

Metadata

Metadata

Assignees

No one assigned

    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