Skip to content

Config GsonBuilder #20

@devjta

Description

@devjta

Or make a constructor where you can pass a GsonBuilder, because if you want to create Json String, it will serialize EVERY field and you cannot prevent it, except make it "transient".

Or you could use new GsonBuilder().excludeFieldsWithoutExposeAnnotation() and you have to add @expose to your fields.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions