Package com.google.gson.annotations

This package provides annotations that can be used with Gson.
Author:
Inderjeet Singh, Joel Leitch
  • Annotation Types Summary 
    Annotation Type Description
    Expose
    An annotation that indicates this member should be exposed for JSON serialization or deserialization.
    JsonAdapter
    An annotation that indicates the Gson TypeAdapter to use with a class or field.
    SerializedName
    An annotation that indicates this member should be serialized to JSON with the provided name value as its field name.
    Since
    An annotation that indicates the version number since a member or a type has been present.
    Until
    An annotation that indicates the version number until a member or a type should be present.