Skip to content

Case sensitive enum deserialize #34

@silkfire

Description

@silkfire

Currently it seems that the library deserializes enum values without taking case sensitivity into an account, so e.g. a value of "hELLo" successfully deserializes into the enum value Hello. Is there a way to force an exception if the casing isn't exactly as specified in the [EnumMember] attribute?

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