google / google/gson

[Feature request]disable @SerializedName

Open
#1,545 2 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
24.2k
Forks
4.5k
Avg merge
6d 4h
Merged PRs (30d)
12

Description

Hello Gson Team,

Thank you so much for this project.
Is it possible to have a simple feature about disable "@SerializedName" in next release ?
@SerializedName is great.
However, sometimes we need two gson's instance for different strategy for a class entity that annotated by @SerializedName.
It will be great if you can consider adding this feature.
Thank you very much for this project.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.