Skip to content

Suggestion: use transient to mark fields not for serialization #86

Closed
@miguel-porto

Description

@miguel-porto

Hi, I would find the use of transient convenient (in addition to the annotation @Expose) to mark fields that are not meant to be serialized.
The reason is that I may want to have a JavaBean for multiple purposes (e.g. I may want to serialize it with Gson also), and it would be more convenient if all the serializers I may use understand the same keyword transient equally. Moreover, it would be more convenient not to have to import com.arangodb in the JavaBean because I may want to have a JavaBean that lives seperately, independent of the underlying DB, for example.
What do you think?
Cheers,

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions