|
||||||||||
| 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.null value.JsonElementsNumber.
JsonSerializer.serialize(Object, Type, JsonSerializationContext) method.long or Long type when its serialized.property from this JsonObject.
value using this serialization policy.
Date objects according to the pattern provided.
Date objects according to the style value provided.
Date objects according to the style value provided.
Long and long
objects.
T.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||