Skip to content

JSON deserialization and type erasure #556

Closed
@maxhille

Description

@maxhille

When retrieving JSON data and using the Jackson-Extension, it would be nice to be able to use some mechanism for working around Java's type erasure.

The following snipped shows how it would look like if we would use Jackson's method.

ClientResource resource = new ClientResource("http://localhost:8182/example");
List<Example> examples = resource.get(new TypeReference<List<Example>>() {});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions