Skip to content

Consider support aliases for name: for @JsonKey #144

Closed
@Reekoooo

Description

@Reekoooo

I can't do this:
@jsonkey(name: "text", alternate = {"full_text"})
String text;

in gson I can do something like:
@SerializedName(value = "text", alternate = {"full_text"})
public final String text;

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions