Skip to content

ImmutableRangeSet fails to deserialize without explicit deserializer #117

@chris-dekker

Description

@chris-dekker

Any concrete ImmutableRangeSet<T> type fails to deserialize out of the box using the GuavaDeserializers.

Only when explicitly setting @JsonDeserialize(using = RangeSetDeserializer.class) on the field does it work correctly.

Problem seems to be in the GuavaDeserializers.java. This should check for RangeSet.class.isAssignableFrom(type.getRawClass()) instead 🤞

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.16good first issueIssue that seems easy to resolve and is likely a good candidate for contributors new to projectguava

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions