Skip to content

Map multiple subtypes to the same class #364

Closed
@umbreak

Description

@umbreak

From the issue described here: http://stackoverflow.com/questions/18394819/jackson-polymorphism-how-to-map-multiple-subtypes-to-the-same-class

I've got an abstract class with an enum and I want to use this enum to unmarshalled the class to the correct subclass. That should be possible, and I don't know why it exist this restriction "one-to-one (bijection) relationship"

Thanks,
Didac

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