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

$

$Gson$Preconditions - Class in com.google.gson.internal
A simple utility class used to check method Preconditions.
$Gson$Preconditions() - Constructor for class com.google.gson.internal.$Gson$Preconditions
 
$Gson$Types - Class in com.google.gson.internal
Static methods for working with types.

A

add(JsonElement) - Method in class com.google.gson.JsonArray
Adds the specified element to self.
add(String, JsonElement) - Method in class com.google.gson.JsonObject
Adds a member, which is a name-value pair, to self.
addAll(JsonArray) - Method in class com.google.gson.JsonArray
Adds all the elements of the specified array to self.
addDeserializationExclusionStrategy(ExclusionStrategy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply the passed in exclusion strategy during deserialization.
addProperty(String, String) - Method in class com.google.gson.JsonObject
Convenience method to add a primitive member.
addProperty(String, Number) - Method in class com.google.gson.JsonObject
Convenience method to add a primitive member.
addProperty(String, Boolean) - Method in class com.google.gson.JsonObject
Convenience method to add a boolean member.
addProperty(String, Character) - Method in class com.google.gson.JsonObject
Convenience method to add a char member.
addSerializationExclusionStrategy(ExclusionStrategy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply the passed in exclusion strategy during serialization.
arrayOf(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns an array type whose elements are all instances of componentType.

B

beginArray() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is the beginning of a new array.
beginArray() - Method in class com.google.gson.stream.JsonWriter
Begins encoding a new array.
beginObject() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is the beginning of a new object.
beginObject() - Method in class com.google.gson.stream.JsonWriter
Begins encoding a new object.

C

canonicalize(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns a type that is functionally equal but not necessarily equal according to Object.equals().
checkArgument(boolean) - Static method in class com.google.gson.internal.$Gson$Preconditions
 
checkNotNull(T) - Static method in class com.google.gson.internal.$Gson$Preconditions
 
checkState(boolean) - Static method in class com.google.gson.internal.$Gson$Preconditions
 
close() - Method in class com.google.gson.stream.JsonReader
Closes this JSON reader and the underlying Reader.
close() - Method in class com.google.gson.stream.JsonWriter
Flushes and closes this writer and the underlying Writer.
com.google.gson - package com.google.gson
This package provides the Gson class to convert Json to Java and vice-versa.
com.google.gson.annotations - package com.google.gson.annotations
This package provides annotations that can be used with Gson.
com.google.gson.internal - package com.google.gson.internal
Do NOT use any class in this package as they are meant for internal use in Gson.
com.google.gson.reflect - package com.google.gson.reflect
This package provides utility classes for finding type information for generic types.
com.google.gson.stream - package com.google.gson.stream
 
create() - Method in class com.google.gson.GsonBuilder
Creates a Gson instance based on the current configuration.
createInstance(Type) - Method in interface com.google.gson.InstanceCreator
Gson invokes this call-back method during deserialization to create an instance of the specified type.

D

deserialize(JsonElement, Type) - Method in interface com.google.gson.JsonDeserializationContext
Invokes default deserialization on the specified object.
deserialize(JsonElement, Type, JsonDeserializationContext) - Method in interface com.google.gson.JsonDeserializer
Gson invokes this call-back method during deserialization when it encounters a field of the specified type.
disableHtmlEscaping() - Method in class com.google.gson.GsonBuilder
By default, Gson escapes HTML characters such as < > etc.
disableInnerClassSerialization() - Method in class com.google.gson.GsonBuilder
Configures Gson to exclude inner classes during serialization.

E

enableComplexMapKeySerialization() - Method in class com.google.gson.GsonBuilder
Enabling this feature will only change the serialized form if the map key is a complex type (i.e.
endArray() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is the end of the current array.
endArray() - Method in class com.google.gson.stream.JsonWriter
Ends encoding the current array.
endObject() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is the end of the current array.
endObject() - Method in class com.google.gson.stream.JsonWriter
Ends encoding the current object.
entrySet() - Method in class com.google.gson.JsonObject
Returns a set of members of this object.
equals(Type, Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns true if a and b are equal.
equals(Object) - Method in class com.google.gson.JsonArray
 
equals(Object) - Method in class com.google.gson.JsonNull
All instances of JsonNull are the same
equals(Object) - Method in class com.google.gson.JsonObject
 
equals(Object) - Method in class com.google.gson.JsonPrimitive
 
equals(Object) - Method in class com.google.gson.reflect.TypeToken
 
excludeFieldsWithModifiers(int...) - Method in class com.google.gson.GsonBuilder
Configures Gson to excludes all class fields that have the specified modifiers.
excludeFieldsWithoutExposeAnnotation() - Method in class com.google.gson.GsonBuilder
Configures Gson to exclude all fields from consideration for serialization or deserialization that do not have the Expose annotation.
ExclusionStrategy - Interface in com.google.gson
A strategy (or policy) definition that is used to decide whether or not a field or top-level class should be serialized or deserialized as part of the JSON output/input.
Expose - Annotation Type in com.google.gson.annotations
An annotation that indicates this member should be exposed for JSON serialization or deserialization.

F

FieldAttributes - Class in com.google.gson
A data object that stores attributes of a field.
FieldNamingPolicy - Enum in com.google.gson
An enumeration that defines a few standard naming conventions for JSON field names.
FieldNamingStrategy - Interface in com.google.gson
A mechanism for providing custom field naming in Gson.
flush() - Method in class com.google.gson.stream.JsonWriter
Ensures all buffered data is written to the underlying Writer and flushes that writer.
fromJson(String, Class<T>) - Method in class com.google.gson.Gson
This method deserializes the specified Json into an object of the specified class.
fromJson(String, Type) - Method in class com.google.gson.Gson
This method deserializes the specified Json into an object of the specified type.
fromJson(Reader, Class<T>) - Method in class com.google.gson.Gson
This method deserializes the Json read from the specified reader into an object of the specified class.
fromJson(Reader, Type) - Method in class com.google.gson.Gson
This method deserializes the Json read from the specified reader into an object of the specified type.
fromJson(JsonReader, Type) - Method in class com.google.gson.Gson
Reads the next JSON value from reader and convert it to an object of type typeOfT.
fromJson(JsonElement, Class<T>) - Method in class com.google.gson.Gson
This method deserializes the Json read from the specified parse tree into an object of the specified type.
fromJson(JsonElement, Type) - Method in class com.google.gson.Gson
This method deserializes the Json read from the specified parse tree into an object of the specified type.

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 literal for the given Type instance.
get(Class<T>) - Static method in class com.google.gson.reflect.TypeToken
Gets type literal 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.
getAnnotations() - Method in class com.google.gson.FieldAttributes
Return the annotations that are present on this field.
getArrayComponentType(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns the component type of this array type.
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.
getCollectionElementType(Type, Class<?>) - Static method in class com.google.gson.internal.$Gson$Types
Returns the element type of this collection type.
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();
getDeclaringClass() - Method in class com.google.gson.FieldAttributes
 
getMapKeyAndValueTypes(Type, Class<?>) - Static method in class com.google.gson.internal.$Gson$Types
Returns a two element array containing this map's key and value types in positions 0 and 1 respectively.
getName() - Method in class com.google.gson.FieldAttributes
 
getRawType(Type) - Static method in class com.google.gson.internal.$Gson$Types
 
getRawType() - Method in class com.google.gson.reflect.TypeToken
Returns the raw (non-generic) type for this 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.

H

has(String) - Method in class com.google.gson.JsonObject
Convenience method to check if a member with the specified name is present in this object.
hashCode() - Method in class com.google.gson.JsonArray
 
hashCode() - Method in class com.google.gson.JsonNull
All instances of JsonNull have the same hash code since they are indistinguishable
hashCode() - Method in class com.google.gson.JsonObject
 
hashCode() - Method in class com.google.gson.JsonPrimitive
 
hashCode() - Method in class com.google.gson.reflect.TypeToken
 
hasModifier(int) - Method in class com.google.gson.FieldAttributes
Returns true if the field is defined with the modifier.
hasNext() - Method in class com.google.gson.JsonStreamParser
Returns true if a JsonElement is available on the input for consumption
hasNext() - Method in class com.google.gson.stream.JsonReader
Returns true if the current array or object has another element.

I

InstanceCreator<T> - Interface in com.google.gson
This interface is implemented to create instances of a class that does not define a no-args constructor.
isArray(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns true if this type is an array.
isAssignableFrom(Class<?>) - Method in class com.google.gson.reflect.TypeToken
Deprecated. this implementation may be inconsistent with javac for types with wildcards.
isAssignableFrom(Type) - Method in class com.google.gson.reflect.TypeToken
Deprecated. this implementation may be inconsistent with javac for types with wildcards.
isAssignableFrom(TypeToken<?>) - Method in class com.google.gson.reflect.TypeToken
Deprecated. this implementation may be inconsistent with javac for types with wildcards.
isBoolean() - Method in class com.google.gson.JsonPrimitive
Check whether this primitive contains a boolean value.
isHtmlSafe() - Method in class com.google.gson.stream.JsonWriter
Returns true if this writer writes JSON that's safe for inclusion in HTML and XML documents.
isJsonArray() - Method in class com.google.gson.JsonElement
provides check for verifying if this element is an array or not.
isJsonNull() - Method in class com.google.gson.JsonElement
provides check for verifying if this element represents a null value or not.
isJsonObject() - Method in class com.google.gson.JsonElement
provides check for verifying if this element is a Json object or not.
isJsonPrimitive() - Method in class com.google.gson.JsonElement
provides check for verifying if this element is a primitive or not.
isLenient() - Method in class com.google.gson.stream.JsonReader
Returns true if this parser is liberal in what it accepts.
isLenient() - Method in class com.google.gson.stream.JsonWriter
Returns true if this writer has relaxed syntax rules.
isNumber() - Method in class com.google.gson.JsonPrimitive
Check whether this primitive contains a Number.
isString() - Method in class com.google.gson.JsonPrimitive
Check whether this primitive contains a String value.
iterator() - Method in class com.google.gson.JsonArray
Returns an iterator to navigate the elemetns of the array.

J

JsonArray - Class in com.google.gson
A class representing an array type in Json.
JsonArray() - Constructor for class com.google.gson.JsonArray
Creates an empty JsonArray.
JsonDeserializationContext - Interface in com.google.gson
Context for deserialization that is passed to a custom deserializer during invocation of its JsonDeserializer.deserialize(JsonElement, Type, JsonDeserializationContext) method.
JsonDeserializer<T> - Interface in com.google.gson
Interface representing a custom deserializer for Json.
JsonElement - Class in com.google.gson
A class representing an element of Json.
JsonElement() - Constructor for class com.google.gson.JsonElement
 
JsonIOException - Exception in com.google.gson
This exception is raised when Gson was unable to read an input stream or write to one.
JsonIOException(String) - Constructor for exception com.google.gson.JsonIOException
 
JsonIOException(String, Throwable) - Constructor for exception com.google.gson.JsonIOException
 
JsonIOException(Throwable) - Constructor for exception com.google.gson.JsonIOException
Creates exception with the specified cause.
JsonNull - Class in com.google.gson
A class representing a Json null value.
JsonNull() - Constructor for class com.google.gson.JsonNull
Creates a new JsonNull object.
JsonObject - Class in com.google.gson
A class representing an object type in Json.
JsonObject() - Constructor for class com.google.gson.JsonObject
Creates an empty JsonObject.
JsonParseException - Exception in com.google.gson
This exception is raised if there is a serious issue that occurs during parsing of a Json string.
JsonParseException(String) - Constructor for exception com.google.gson.JsonParseException
Creates exception with the specified message.
JsonParseException(String, Throwable) - Constructor for exception com.google.gson.JsonParseException
Creates exception with the specified message and cause.
JsonParseException(Throwable) - Constructor for exception com.google.gson.JsonParseException
Creates exception with the specified cause.
JsonParser - Class in com.google.gson
A parser to parse Json into a parse tree of JsonElements
JsonParser() - Constructor for class com.google.gson.JsonParser
 
JsonPrimitive - Class in com.google.gson
A class representing a Json primitive value.
JsonPrimitive(Boolean) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a boolean value.
JsonPrimitive(Number) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a Number.
JsonPrimitive(String) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a String value.
JsonPrimitive(Character) - Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a character.
JsonReader - Class in com.google.gson.stream
Reads a JSON (RFC 4627) encoded value as a stream of tokens.
JsonReader(Reader) - Constructor for class com.google.gson.stream.JsonReader
Creates a new instance that reads a JSON-encoded stream from in.
JsonSerializationContext - Interface in com.google.gson
Context for serialization that is passed to a custom serializer during invocation of its JsonSerializer.serialize(Object, Type, JsonSerializationContext) method.
JsonSerializer<T> - Interface in com.google.gson
Interface representing a custom serializer for Json.
JsonStreamParser - Class in com.google.gson
A streaming parser that allows reading of multiple JsonElements from the specified reader asynchronously.
JsonStreamParser(String) - Constructor for class com.google.gson.JsonStreamParser
 
JsonStreamParser(Reader) - Constructor for class com.google.gson.JsonStreamParser
 
JsonSyntaxException - Exception in com.google.gson
This exception is raised when Gson attempts to read (or write) a malformed JSON element.
JsonSyntaxException(String) - Constructor for exception com.google.gson.JsonSyntaxException
 
JsonSyntaxException(String, Throwable) - Constructor for exception com.google.gson.JsonSyntaxException
 
JsonSyntaxException(Throwable) - Constructor for exception com.google.gson.JsonSyntaxException
Creates exception with the specified cause.
JsonToken - Enum in com.google.gson.stream
A structure, name or value type in a JSON-encoded string.
JsonWriter - Class in com.google.gson.stream
Writes a JSON (RFC 4627) encoded value to a stream, one token at a time.
JsonWriter(Writer) - Constructor for class com.google.gson.stream.JsonWriter
Creates a new instance that writes a JSON-encoded stream to out.

L

LongSerializationPolicy - Enum in com.google.gson
Defines the expected format for a long or Long type when its serialized.

M

MalformedJsonException - Exception in com.google.gson.stream
Thrown when a reader encounters malformed JSON.
MalformedJsonException(String) - Constructor for exception com.google.gson.stream.MalformedJsonException
 
MalformedJsonException(String, Throwable) - Constructor for exception com.google.gson.stream.MalformedJsonException
 
MalformedJsonException(Throwable) - Constructor for exception com.google.gson.stream.MalformedJsonException
 

N

name(String) - Method in class com.google.gson.stream.JsonWriter
Encodes the property name.
newParameterizedTypeWithOwner(Type, Type, Type...) - Static method in class com.google.gson.internal.$Gson$Types
Returns a new parameterized type, applying typeArguments to rawType and enclosed by ownerType.
next() - Method in class com.google.gson.JsonStreamParser
Returns the next available JsonElement on the reader.
nextBoolean() - Method in class com.google.gson.stream.JsonReader
Returns the boolean value of the next token, consuming it.
nextDouble() - Method in class com.google.gson.stream.JsonReader
Returns the double value of the next token, consuming it.
nextInt() - Method in class com.google.gson.stream.JsonReader
Returns the int value of the next token, consuming it.
nextLong() - Method in class com.google.gson.stream.JsonReader
Returns the long value of the next token, consuming it.
nextName() - Method in class com.google.gson.stream.JsonReader
Returns the next token, a property name, and consumes it.
nextNull() - Method in class com.google.gson.stream.JsonReader
Consumes the next token from the JSON stream and asserts that it is a literal null.
nextString() - Method in class com.google.gson.stream.JsonReader
Returns the string value of the next token, consuming it.
nullValue() - Method in class com.google.gson.stream.JsonWriter
Encodes null.

P

parse(String) - Method in class com.google.gson.JsonParser
Parses the specified JSON string into a parse tree
parse(Reader) - Method in class com.google.gson.JsonParser
Parses the specified JSON string into a parse tree
parse(JsonReader) - Method in class com.google.gson.JsonParser
Returns the next value from the JSON stream as a parse tree.
peek() - Method in class com.google.gson.stream.JsonReader
Returns the type of the next token without consuming it.

R

registerTypeAdapter(Type, Object) - Method in class com.google.gson.GsonBuilder
Configures Gson for custom serialization or deserialization.
registerTypeHierarchyAdapter(Class<?>, Object) - Method in class com.google.gson.GsonBuilder
Configures Gson for custom serialization or deserialization for an inheritance type hierarchy.
remove(String) - Method in class com.google.gson.JsonObject
Removes the property from this JsonObject.
remove() - Method in class com.google.gson.JsonStreamParser
This optional Iterator method is not relevant for stream parsing and hence is not implemented.
resolve(Type, Class<?>, Type) - Static method in class com.google.gson.internal.$Gson$Types
 

S

serialize(Object) - Method in interface com.google.gson.JsonSerializationContext
Invokes default serialization on the specified object.
serialize(Object, Type) - Method in interface com.google.gson.JsonSerializationContext
Invokes default serialization on the specified object passing the specific type information.
serialize(T, Type, JsonSerializationContext) - Method in interface com.google.gson.JsonSerializer
Gson invokes this call-back method during serialization when it encounters a field of the specified type.
serialize(Long) - Method in enum com.google.gson.LongSerializationPolicy
Serialize this value using this serialization policy.
SerializedName - Annotation Type in com.google.gson.annotations
An annotation that indicates this member should be serialized to JSON with the provided name value as its field name.
serializeNulls() - Method in class com.google.gson.GsonBuilder
Configure Gson to serialize null fields.
serializeSpecialFloatingPointValues() - Method in class com.google.gson.GsonBuilder
Section 2.4 of JSON specification disallows special double values (NaN, Infinity, -Infinity).
setDateFormat(String) - Method in class com.google.gson.GsonBuilder
Configures Gson to serialize Date objects according to the pattern provided.
setDateFormat(int) - Method in class com.google.gson.GsonBuilder
Configures Gson to to serialize Date objects according to the style value provided.
setDateFormat(int, int) - Method in class com.google.gson.GsonBuilder
Configures Gson to to serialize Date objects according to the style value provided.
setExclusionStrategies(ExclusionStrategy...) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply a set of exclusion strategies during both serialization and deserialization.
setFieldNamingPolicy(FieldNamingPolicy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply a specific naming policy to an object's field during serialization and deserialization.
setFieldNamingStrategy(FieldNamingStrategy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply a specific naming policy strategy to an object's field during serialization and deserialization.
setHtmlSafe(boolean) - Method in class com.google.gson.stream.JsonWriter
Configure this writer to emit JSON that's safe for direct inclusion in HTML and XML documents.
setIndent(String) - Method in class com.google.gson.stream.JsonWriter
Sets the indentation string to be repeated for each level of indentation in the encoded document.
setLenient(boolean) - Method in class com.google.gson.stream.JsonReader
Configure this parser to be be liberal in what it accepts.
setLenient(boolean) - Method in class com.google.gson.stream.JsonWriter
Configure this writer to relax its syntax rules.
setLongSerializationPolicy(LongSerializationPolicy) - Method in class com.google.gson.GsonBuilder
Configures Gson to apply a specific serialization policy for Long and long objects.
setPrettyPrinting() - Method in class com.google.gson.GsonBuilder
Configures Gson to output Json that fits in a page for pretty printing.
setVersion(double) - Method in class com.google.gson.GsonBuilder
Configures Gson to enable versioning support.
shouldSkipClass(Class<?>) - Method in interface com.google.gson.ExclusionStrategy
 
shouldSkipField(FieldAttributes) - Method in interface com.google.gson.ExclusionStrategy
 
Since - Annotation Type in com.google.gson.annotations
An annotation that indicates the version number since a member or a type has been present.
size() - Method in class com.google.gson.JsonArray
Returns the number of elements in the array.
skipValue() - Method in class com.google.gson.stream.JsonReader
Skips the next value recursively.
subtypeOf(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns a type that represents an unknown type that extends bound.
supertypeOf(Type) - Static method in class com.google.gson.internal.$Gson$Types
Returns a type that represents an unknown supertype of bound.

T

toJson(Object) - Method in class com.google.gson.Gson
This method serializes the specified object into its equivalent Json representation.
toJson(Object, Type) - Method in class com.google.gson.Gson
This method serializes the specified object, including those of generic types, into its equivalent Json representation.
toJson(Object, Appendable) - Method in class com.google.gson.Gson
This method serializes the specified object into its equivalent Json representation.
toJson(Object, Type, Appendable) - Method in class com.google.gson.Gson
This method serializes the specified object, including those of generic types, into its equivalent Json representation.
toJson(Object, Type, JsonWriter) - Method in class com.google.gson.Gson
Writes the JSON representation of src of type typeOfSrc to writer.
toJson(JsonElement) - Method in class com.google.gson.Gson
Converts a tree of JsonElements into its equivalent JSON representation.
toJson(JsonElement, Appendable) - Method in class com.google.gson.Gson
Writes out the equivalent JSON for a tree of JsonElements.
toJson(JsonElement, JsonWriter) - Method in class com.google.gson.Gson
Writes the JSON for jsonElement to writer.
toJsonTree(Object) - Method in class com.google.gson.Gson
This method serializes the specified object into its equivalent representation as a tree of JsonElements.
toJsonTree(Object, Type) - Method in class com.google.gson.Gson
This method serializes the specified object, including those of generic types, into its equivalent representation as a tree of JsonElements.
toString() - Method in class com.google.gson.Gson
 
toString() - Method in class com.google.gson.JsonElement
Returns a String representation of this element.
toString() - Method in class com.google.gson.reflect.TypeToken
 
toString() - Method in class com.google.gson.stream.JsonReader
 
translateName(Field) - Method in interface com.google.gson.FieldNamingStrategy
Translates the field name into its JSON field name representation.
TypeToken<T> - Class in com.google.gson.reflect
Represents a generic type T.
typeToString(Type) - Static method in class com.google.gson.internal.$Gson$Types
 

U

Until - Annotation Type in com.google.gson.annotations
An annotation that indicates the version number until a member or a type should be present.

V

value(String) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(boolean) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(double) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(long) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
value(Number) - Method in class com.google.gson.stream.JsonWriter
Encodes value.
valueOf(String) - Static method in enum com.google.gson.FieldNamingPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.gson.LongSerializationPolicy
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.google.gson.stream.JsonToken
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.google.gson.FieldNamingPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.gson.LongSerializationPolicy
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.google.gson.stream.JsonToken
Returns an array containing the constants of this enum type, in the order they are declared.

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

Copyright © 2008-2011 Google, Inc.. All Rights Reserved.