Skip to content

Index is never set for Collection and Array in InvalidFormatException.Reference #506

@fdaugan

Description

@fdaugan

When a InvalidFormatException is created, index values is always '-1'.
Indeed, in StringCollectionDeserializer, and CollectionDeserializer the exception is not caught.
The JsonMappingException shoud be caught and the index should be added and based on the "result" size.
Without this information, there is no way to get the index of the item involved in the mapping error.

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