Skip to content

Make BeanDeserializerModifier/BeanSerializerModifier implement java.io.Serializable #4209

Description

@k163377

Is your feature request related to a problem? Please describe.

The BeanDeserializerModifier does not currently implement Serializable.

On the other hand, this class is used as a field in SimpleModule which implements Serializable.
This means that if a simple implementation of BeanDeserializerModifier is used in a SimpleModule, the JDK serialization may cause unintended errors.

protected BeanDeserializerModifier _deserializerModifier = null;

Describe the solution you'd like

Either have BeanDeserializerModifier implement Serializable or provide a base class like SimpleBeanDeserializerModifier that implements Serializable as well as other supporting classes.

Usage example

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions