Skip to content

Serialize multiple JSON key in a single variable #888

Closed
@Softkeydel

Description

@Softkeydel

With GSON we can do
@SerializedName(value="data", alternate={"variations", "products"})
@expose
private Data data;

How to implement the same with
@jsonkey(name: "location")

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions