Skip to content

Is it possible to use this library with the Immutable collections from Guava. #405

@vamega

Description

@vamega

I had tried to make a CustomAdapter to be able to de-serialize lists into Guava's ImmutableList class. I attempted to create a CustomAdapter for the ImmutableList, but it didn't work, and the generated Adapter for the top level class looks up the adapter via jsonb.adapater(Types.listOf(<class>)). This results in the generated adapter always using CollectionAdapter::createList.

Is there some option I've missed, or is this not possible to achieve with the library today?

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