Closed
Description
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,