Skip to content

Add serializerByType() deserializerByType() and mixIn() to Jackson2ObjectMapperBuilder [SPR-12313] #16918

Closed

Description

@spring-projects-issues

Sébastien Deleuze opened SPR-12313 and commented


Issue Links:

Referenced from: commits f518ad9

Activity

  1. spring-projects-issues commented on Oct 7, 2014

    @spring-projects-issues
    CollaboratorAuthor

    Sébastien Deleuze commented

    We should improve Jackson2ObjectMapperBuilder by adding single entry alternatives to serializersByType(), deserializersByType(), and the new mixIns() that I will introduce with #16758.

    For example in addition to serializersByType(Map<Class<?>, JsonSerializer<?>> serializers), we should add the following alternative serializerByType(Class<?> type, JsonSerializer<?> serializer) in order to make it easier to add 1 or 2 entries without creating a whole Map.

  2. added this to the 4.1.2 milestone on Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

type: enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions