|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Reader.
Writer.
Gson class to convert Json to Java and
vice-versa.Gson.Gson instance based on the current configuration.
type, or null if this factory doesn't
support type.
Expose annotation.
f.
Writer
and flushes that writer.
reader and convert it to an object
of type typeOfT.
in to a Java object.
json to a Java object.
jsonTree to a Java object.
Type instance.
Class instance.
type.
type.
T annotation object from this field if it exist; otherwise returns
null.
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.
Class object that was declared for this field.
public class Foo {
private String bar;
private List<String> red;
}
Type listParmeterizedType = new TypeToken<List<String>>() {}.getType();
Type instance.
Gson instance when you need to set configuration
options other than the default.true if the field is defined with the modifier.
JsonElement is available on the input for consumption
TypeAdapter to use with a class
or field.JsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext)
method.null value.JsonElementsNumber.
in.
JsonSerializer.serialize(Object, Type, JsonSerializationContext) method.JsonElements from the specified reader
asynchronously.out.
long or Long type when its serialized.JsonElement on the reader.
boolean value of the next token,
consuming it.
double value of the next token,
consuming it.
int value of the next token,
consuming it.
long value of the next token,
consuming it.
property name, and
consumes it.
string value of the next token,
consuming it.
null.
property from this JsonObject.
Iterator method is not relevant for stream parsing and hence is not
implemented.
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.
src of type typeOfSrc to
writer.
JsonElements into its equivalent JSON representation.
JsonElements.
jsonElement to writer.
value to a JSON document and writes it to out.
value to a JSON document.
JsonElements.
JsonElements.
value to a JSON tree.
T.value.
value.
value.
value.
value.
value.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||