Skip to content

JsonDeserializer constructor with TypeReference argument #1055

@pavelpe

Description

@pavelpe

Couldn't find any way to construct JsonDeserializer with TypeReference argument.
The only way is Class <T> targetType but ObjectMapper instance (default) which is initialized inside deserializer has readerFor(TypeReference<?> type) for a long time already.

Building custom ObjectMapper feels like workaround in such case.

Is there any specific reason why JsonDeserializer does not provide such constructor?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions