A C D E F G H I J L N P R S T U V

G

generateNonExecutableJson() - Method in class com.google.gson.GsonBuilder
Makes the output JSON non-executable in Javascript by prefixing the generated JSON with some special text.
get(int) - Method in class com.google.gson.JsonArray
Returns the ith element of the array.
get(String) - Method in class com.google.gson.JsonObject
Returns the member with the specified name.
get(Type) - Static method in class com.google.gson.reflect.TypeToken
Gets type token for the given Type instance.
get(Class<T>) - Static method in class com.google.gson.reflect.TypeToken
Gets type token for the given Class instance.
getAnnotation(Class<T>) - Method in class com.google.gson.FieldAttributes
Return the T annotation object from this field if it exist; otherwise returns null.
getAsBigDecimal() - Method in class com.google.gson.JsonArray
convenience method to get this array as a BigDecimal if it contains a single element.
getAsBigDecimal() - Method in class com.google.gson.JsonElement
convenience method to get this element as a BigDecimal.
getAsBigDecimal() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a BigDecimal.
getAsBigInteger() - Method in class com.google.gson.JsonArray
convenience method to get this array as a BigInteger if it contains a single element.
getAsBigInteger() - Method in class com.google.gson.JsonElement
convenience method to get this element as a BigInteger.
getAsBigInteger() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a BigInteger.
getAsBoolean() - Method in class com.google.gson.JsonArray
convenience method to get this array as a boolean if it contains a single element.
getAsBoolean() - Method in class com.google.gson.JsonElement
convenience method to get this element as a boolean value.
getAsBoolean() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a boolean value.
getAsByte() - Method in class com.google.gson.JsonArray
 
getAsByte() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive byte value.
getAsByte() - Method in class com.google.gson.JsonPrimitive
 
getAsCharacter() - Method in class com.google.gson.JsonArray
 
getAsCharacter() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive character value.
getAsCharacter() - Method in class com.google.gson.JsonPrimitive
 
getAsDouble() - Method in class com.google.gson.JsonArray
convenience method to get this array as a double if it contains a single element.
getAsDouble() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive double value.
getAsDouble() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a primitive double.
getAsFloat() - Method in class com.google.gson.JsonArray
convenience method to get this array as a float if it contains a single element.
getAsFloat() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive float value.
getAsFloat() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a float.
getAsInt() - Method in class com.google.gson.JsonArray
convenience method to get this array as an integer if it contains a single element.
getAsInt() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive integer value.
getAsInt() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a primitive integer.
getAsJsonArray() - Method in class com.google.gson.JsonElement
convenience method to get this element as a JsonArray.
getAsJsonArray(String) - Method in class com.google.gson.JsonObject
Convenience method to get the specified member as a JsonArray.
getAsJsonNull() - Method in class com.google.gson.JsonElement
convenience method to get this element as a JsonNull.
getAsJsonObject() - Method in class com.google.gson.JsonElement
convenience method to get this element as a JsonObject.
getAsJsonObject(String) - Method in class com.google.gson.JsonObject
Convenience method to get the specified member as a JsonObject.
getAsJsonPrimitive() - Method in class com.google.gson.JsonElement
convenience method to get this element as a JsonPrimitive.
getAsJsonPrimitive(String) - Method in class com.google.gson.JsonObject
Convenience method to get the specified member as a JsonPrimitive element.
getAsLong() - Method in class com.google.gson.JsonArray
convenience method to get this array as a long if it contains a single element.
getAsLong() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive long value.
getAsLong() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a primitive long.
getAsNumber() - Method in class com.google.gson.JsonArray
convenience method to get this array as a Number if it contains a single element.
getAsNumber() - Method in class com.google.gson.JsonElement
convenience method to get this element as a Number.
getAsNumber() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a Number.
getAsShort() - Method in class com.google.gson.JsonArray
convenience method to get this array as a primitive short if it contains a single element.
getAsShort() - Method in class com.google.gson.JsonElement
convenience method to get this element as a primitive short value.
getAsShort() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a primitive short.
getAsString() - Method in class com.google.gson.JsonArray
convenience method to get this array as a String if it contains a single element.
getAsString() - Method in class com.google.gson.JsonElement
convenience method to get this element as a string value.
getAsString() - Method in class com.google.gson.JsonPrimitive
convenience method to get this element as a String.
getDeclaredClass() - Method in class com.google.gson.FieldAttributes
Returns the Class<?> object that was declared for this field.
getDeclaredType() - Method in class com.google.gson.FieldAttributes
For example, assume the following class definition:
 public class Foo {
   private String bar;
   private List<String> red;
 }

 Type listParmeterizedType = new TypeToken>() {}.getType();
getName() - Method in class com.google.gson.FieldAttributes
 
getRawType() - Method in class com.google.gson.reflect.TypeToken
Gets the raw type.
getType() - Method in class com.google.gson.reflect.TypeToken
Gets underlying Type instance.
Gson - Class in com.google.gson
This is the main class for using Gson.
Gson() - Constructor for class com.google.gson.Gson
Constructs a Gson object with default configuration.
GsonBuilder - Class in com.google.gson
Use this builder to construct a Gson instance when you need to set configuration options other than the default.
GsonBuilder() - Constructor for class com.google.gson.GsonBuilder
Creates a GsonBuilder instance that can be used to build Gson with various configuration settings.

A C D E F G H I J L N P R S T U V