|
||||||||||
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.
BigDecimal
if it contains a single element.
BigDecimal
.
BigDecimal
.
BigInteger
if it contains a single element.
BigInteger
.
BigInteger
.
JsonArray
.
JsonNull
.
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)
method.Date
objects according to the pattern provided.
Date
objects according to the style value provided.
T
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |