Skip to content

ObjectMapper.writerWithType has no effect in 2.3.0 #412

@jhalterman

Description

@jhalterman

I'm using ObjectMapper.writerWithType on an ObjectMapper that has SerializationFeature.WRAP_ROOT_VALUE enabled to override the rootType when writing a value as a string. Specifically I'm doing this to ensure that proxied types have their parent class name written instead of the proxy class name.

This worked fine with 2.1.1. Did something change?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions