Skip to content

Deserializing should handle mismatched datatype #16

@tpluscode

Description

@tpluscode

Currently the deserialiser is strict when deserialising literals.

For example, xsd:nonNegativeInteger will not deserialise into an int, leaving the property with default value.

Instead, if the string value can be happily interpreted as the destination type, it should get converted.

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