Top Description Annotations
module com.google.gson

Package com.google.gson.annotations

Annotations
@CheckReturnValue

This package provides annotations that can be used with com.google.gson.Gson.
Author
Inderjeet Singh, Joel Leitch

Annotation Summary

Modifier and TypeAnnotation and Description
public @interface
Expose

An annotation that indicates this member should be exposed for JSON serialization or deserialization.

public @interface
JsonAdapter

An annotation that indicates the Gson TypeAdapter to use with a class or field.

public @interface
SerializedName

An annotation that indicates this member should be serialized to JSON with the provided name value as its field name.

public @interface
Since

An annotation that indicates the version number since a member or a type has been present.

public @interface
Until

An annotation that indicates the version number until a member or a type should be present.