encoding

Defines how an instance of the annotated class will be encoded to JSON.

By default, the automatic approach will be used.