|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
componentType.
Base64.InputStream will read data from another
java.io.InputStream, given in the constructor,
and encode/decode to/from Base64 notation on the fly.Base64.InputStream in DECODE mode.
Base64.InputStream in
either ENCODE or DECODE mode.
Base64.OutputStream will write data to another
java.io.OutputStream, given in the constructor,
and encode/decode to/from Base64 notation on the fly.Base64.OutputStream in ENCODE mode.
Base64.OutputStream in
either ENCODE or DECODE mode.
Object.equals().
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.
raw ByteBuffer,
writing it to the encoded ByteBuffer.
raw ByteBuffer,
writing it to the encoded CharBuffer.
Base64.encodeBytes(byte[]) but returns
a byte array instead of instantiating a String.
Base64.encodeBytes(byte[], int, int, int) but returns
a byte array instead of instantiating a String.
a and b are equal.
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
true if type is one of the nine
primitive-wrapper types, such as Integer.
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.typeArguments to
rawType and enclosed by ownerType.
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.
Base64.InputStream.read() repeatedly until the end of stream
is reached or len bytes are read.
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.
bound.
bound.
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.type if it is a
wrapper type; otherwise returns type itself.
value.
value.
value.
value.
value.
type if it is a primitive
type; otherwise returns type itself.
value.
write(int) repeatedly until len
bytes are written.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||