|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Gson
class to convert Json to Java and
vice-versa.Gson
.Gson
instance based on the current configuration.
Expose
annotation.
Type
instance.
Class
instance.
JsonArray
.
JsonObject
.
JsonPrimitive
.
Number
if it contains a single element.
Number
.
String
if it contains a single element.
Type
instance.
Gson
instance when you need to set configuration
options other than the default.JsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
method.Number
.
JsonSerializer.serialize(Object, Type, JsonSerializationContext)
methodT
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |