Skip to content

Jackson deserialization failed when using Generic Types in an embedded list #639

@saruye

Description

@saruye

When using translated jackson, it cannot deserialize objects with embedded lists.

The java test passes while the objective-c tests fails when deserializing. Serializing works.

public static class Person {
    private ArrayList<Address> addressList;
}

When deserializing such an object the result is a person with an arraylist filled with LinkedHashMaps.

A test is provided here: j2objc-contrib/j2objc-common-libs-e2e-test#50

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