Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support double curly brace initialization object to json #2186

Closed
GGGGGHT opened this issue Aug 30, 2022 · 1 comment
Closed

Support double curly brace initialization object to json #2186

GGGGGHT opened this issue Aug 30, 2022 · 1 comment

Comments

@GGGGGHT
Copy link

GGGGGHT commented Aug 30, 2022

Problem solved by the feature

When I use double curly braces to instantiate an object, it will generate a anonymous subclass, and I can't convert it to a json object using GSON, so I hope this operation can be supported.

Feature description

like i described above,Support anonymous subclass object conversion into json.

Alternatives / workarounds

@Marcono1234
Copy link
Collaborator

Marcono1234 commented Aug 30, 2022

Thank you for this feature request, though this is already tracked by #1510.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants