FieldNamingPolicy
diff --git a/gson/docs/javadocs/com/google/gson/reflect/TypeToken.html b/gson/docs/javadocs/com/google/gson/reflect/TypeToken.html
index 1ff945cd..8f525881 100644
--- a/gson/docs/javadocs/com/google/gson/reflect/TypeToken.html
+++ b/gson/docs/javadocs/com/google/gson/reflect/TypeToken.html
@@ -2,10 +2,10 @@
-
+
-TypeToken (Gson 1.3 API)
+TypeToken (Gson 1.4 API)
@@ -15,7 +15,7 @@ TypeToken (Gson 1.3 API)
diff --git a/gson/docs/javadocs/com/google/gson/reflect/class-use/TypeToken.html b/gson/docs/javadocs/com/google/gson/reflect/class-use/TypeToken.html
index 1aef9166..89ddf694 100644
--- a/gson/docs/javadocs/com/google/gson/reflect/class-use/TypeToken.html
+++ b/gson/docs/javadocs/com/google/gson/reflect/class-use/TypeToken.html
@@ -2,10 +2,10 @@
-
+
-Uses of Class com.google.gson.reflect.TypeToken (Gson 1.3 API)
+Uses of Class com.google.gson.reflect.TypeToken (Gson 1.4 API)
@@ -14,7 +14,7 @@ Uses of Class com.google.gson.reflect.TypeToken (Gson 1.3 API)
diff --git a/gson/docs/javadocs/com/google/gson/reflect/package-frame.html b/gson/docs/javadocs/com/google/gson/reflect/package-frame.html
index 250753d6..3b2a704a 100644
--- a/gson/docs/javadocs/com/google/gson/reflect/package-frame.html
+++ b/gson/docs/javadocs/com/google/gson/reflect/package-frame.html
@@ -2,10 +2,10 @@
-
+
-com.google.gson.reflect (Gson 1.3 API)
+com.google.gson.reflect (Gson 1.4 API)
diff --git a/gson/docs/javadocs/com/google/gson/reflect/package-summary.html b/gson/docs/javadocs/com/google/gson/reflect/package-summary.html
index fcc37e8b..f9d92cdd 100644
--- a/gson/docs/javadocs/com/google/gson/reflect/package-summary.html
+++ b/gson/docs/javadocs/com/google/gson/reflect/package-summary.html
@@ -2,10 +2,10 @@
-
+
-com.google.gson.reflect (Gson 1.3 API)
+com.google.gson.reflect (Gson 1.4 API)
@@ -15,7 +15,7 @@ com.google.gson.reflect (Gson 1.3 API)
diff --git a/gson/docs/javadocs/com/google/gson/reflect/package-tree.html b/gson/docs/javadocs/com/google/gson/reflect/package-tree.html
index 36eba865..9fb7c488 100644
--- a/gson/docs/javadocs/com/google/gson/reflect/package-tree.html
+++ b/gson/docs/javadocs/com/google/gson/reflect/package-tree.html
@@ -2,10 +2,10 @@
-
+
-com.google.gson.reflect Class Hierarchy (Gson 1.3 API)
+com.google.gson.reflect Class Hierarchy (Gson 1.4 API)
@@ -14,7 +14,7 @@ com.google.gson.reflect Class Hierarchy (Gson 1.3 API)
diff --git a/gson/docs/javadocs/com/google/gson/reflect/package-use.html b/gson/docs/javadocs/com/google/gson/reflect/package-use.html
index 65d5915b..959b95d0 100644
--- a/gson/docs/javadocs/com/google/gson/reflect/package-use.html
+++ b/gson/docs/javadocs/com/google/gson/reflect/package-use.html
@@ -2,10 +2,10 @@
-
+
-Uses of Package com.google.gson.reflect (Gson 1.3 API)
+Uses of Package com.google.gson.reflect (Gson 1.4 API)
@@ -14,7 +14,7 @@ Uses of Package com.google.gson.reflect (Gson 1.3 API)
diff --git a/gson/docs/javadocs/constant-values.html b/gson/docs/javadocs/constant-values.html
index 6a65fc2c..f078d61c 100644
--- a/gson/docs/javadocs/constant-values.html
+++ b/gson/docs/javadocs/constant-values.html
@@ -2,10 +2,10 @@
-
+
-Constant Field Values (Gson 1.3 API)
+Constant Field Values (Gson 1.4 API)
@@ -14,7 +14,7 @@ Constant Field Values (Gson 1.3 API)
diff --git a/gson/docs/javadocs/deprecated-list.html b/gson/docs/javadocs/deprecated-list.html
index ddd0e7f5..e9120506 100644
--- a/gson/docs/javadocs/deprecated-list.html
+++ b/gson/docs/javadocs/deprecated-list.html
@@ -2,10 +2,10 @@
-
+
-Deprecated List (Gson 1.3 API)
+Deprecated List (Gson 1.4 API)
@@ -14,7 +14,7 @@ Deprecated List (Gson 1.3 API)
diff --git a/gson/docs/javadocs/help-doc.html b/gson/docs/javadocs/help-doc.html
index e0754fbf..12b9b978 100644
--- a/gson/docs/javadocs/help-doc.html
+++ b/gson/docs/javadocs/help-doc.html
@@ -2,10 +2,10 @@
-
+
-API Help (Gson 1.3 API)
+API Help (Gson 1.4 API)
@@ -14,7 +14,7 @@ API Help (Gson 1.3 API)
diff --git a/gson/docs/javadocs/index-all.html b/gson/docs/javadocs/index-all.html
index 9dd51d16..845bdc97 100644
--- a/gson/docs/javadocs/index-all.html
+++ b/gson/docs/javadocs/index-all.html
@@ -2,10 +2,10 @@
-
+
-Index (Gson 1.3 API)
+Index (Gson 1.4 API)
@@ -14,7 +14,7 @@ Index (Gson 1.3 API)
@@ -75,7 +75,7 @@ function windowTitle()
-A C D E F G H I J L P R S T U V
+A C D E F G H I J L N P R S T U V
A
@@ -142,6 +142,9 @@ Method in class com.google.gson.equals(Object) -
Method in class com.google.gson.JsonNull
All instances of JsonNull are the same
+ equals(Object) -
+Method in class com.google.gson.JsonPrimitive
+
equals(Object) -
Method in class com.google.gson.reflect.TypeToken
Method to test equality.
@@ -152,13 +155,14 @@ 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.
- Expose - Annotation Type in com.google.gson.annotations An annotation that indicates this member should be exposed for JSON
+ 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
-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. fromJson(String, Class<T>) -
+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. 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) -
@@ -201,6 +205,10 @@ Static method in class com.google.gson.reflect.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.
@@ -330,6 +338,22 @@ Method in class com.google.gson.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.
@@ -355,9 +379,18 @@ Method in class com.google.gson.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.JsonPrimitive
+
hashCode() -
Method in class com.google.gson.reflect.TypeToken
Hashcode for this object.
+ 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
@@ -442,13 +475,28 @@ Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a character.
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.
+ 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 JsonElement
s from the specified reader
+ asynchronously. JsonStreamParser(String) -
+Constructor for class com.google.gson.JsonStreamParser
+
+ JsonStreamParser(Reader) -
+Constructor for class com.google.gson.JsonStreamParser
+
+
L
LongSerializationPolicy - Enum in com.google.gson Defines the expected format for a long
or Long
type when its serialized.
+
+N
+
+next() -
+Method in class com.google.gson.JsonStreamParser
+Returns the next available JsonElement
on the reader.
+
+
P
@@ -469,6 +517,10 @@ Method in class com.google.gson.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.
@@ -504,6 +556,10 @@ Method in class com.google.gson.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
@@ -522,6 +578,12 @@ Method in class com.google.gson.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.
@@ -544,6 +606,20 @@ Method in class com.google.gson.Gson
This method serializes the specified object, including those of generic types, into its
equivalent Json representation.
+ toJson(JsonElement) -
+Method in class com.google.gson.Gson
+Converts a tree of JsonElement
s into its equivalent JSON representation.
+ toJson(JsonElement, Appendable) -
+Method in class com.google.gson.Gson
+Writes out the equivalent JSON for a tree of JsonElement
s.
+ toJsonTree(Object) -
+Method in class com.google.gson.Gson
+This method serializes the specified object into its equivalent representation as a tree of
+ JsonElement
s.
+ 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 JsonElement
s.
toString() -
Method in class com.google.gson.Gson
@@ -582,7 +658,7 @@ Static method in enum com.google.gson.A C D E F G H I J L P R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-1.html b/gson/docs/javadocs/index-files/index-1.html
index 0917dd74..4447cfc2 100644
--- a/gson/docs/javadocs/index-files/index-1.html
+++ b/gson/docs/javadocs/index-files/index-1.html
@@ -2,7 +2,7 @@
-
+
A-Index
@@ -74,7 +74,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
A
@@ -153,7 +153,7 @@ Method in class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-10.html b/gson/docs/javadocs/index-files/index-10.html
index 1e72042f..ee1c6b77 100644
--- a/gson/docs/javadocs/index-files/index-10.html
+++ b/gson/docs/javadocs/index-files/index-10.html
@@ -2,7 +2,7 @@
-
+
L-Index
@@ -74,7 +74,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
L
@@ -132,7 +132,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-11.html b/gson/docs/javadocs/index-files/index-11.html
index 82317f16..ccd611bf 100644
--- a/gson/docs/javadocs/index-files/index-11.html
+++ b/gson/docs/javadocs/index-files/index-11.html
@@ -2,9 +2,9 @@
-
+
-R-Index
+N-Index
@@ -13,7 +13,7 @@ R-Index
@@ -74,16 +74,13 @@ function windowTitle()
-A C D E F G H I J L R S T U V
-
-R
+A C D E F G H I J L N P R S T U V
+
+N
-registerTypeAdapter(Type, Object) -
-Method in class com.google.gson.GsonBuilder
-Configures Gson for custom serialization or deserialization.
- remove(String) -
-Method in class com.google.gson.JsonObject
-Removes the property
from this JsonObject
.
+ next() -
+Method in class com.google.gson.JsonStreamParser
+Returns the next available JsonElement
on the reader.
@@ -138,7 +135,7 @@ Method in class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-12.html b/gson/docs/javadocs/index-files/index-12.html
index e9fc4410..588726e5 100644
--- a/gson/docs/javadocs/index-files/index-12.html
+++ b/gson/docs/javadocs/index-files/index-12.html
@@ -2,9 +2,9 @@
-
+
-S-Index
+P-Index
@@ -13,7 +13,7 @@ S-Index
@@ -74,57 +74,16 @@ function windowTitle()
-A C D E F G H I J L R S T U V
-
-S
+A C D E F G H I J L N P R S T U V
+
+P
-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.
- 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.
- 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.
- 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.
+ 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
@@ -179,7 +138,7 @@ Method in class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-13.html b/gson/docs/javadocs/index-files/index-13.html
index 89cb735b..397cf2c9 100644
--- a/gson/docs/javadocs/index-files/index-13.html
+++ b/gson/docs/javadocs/index-files/index-13.html
@@ -2,9 +2,9 @@
-
+
-T-Index
+R-Index
@@ -13,7 +13,7 @@ T-Index
@@ -74,34 +74,21 @@ function windowTitle()
-A C D E F G H I J L R S T U V
-
-T
+A C D E F G H I J L N P R S T U V
+
+R
-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.
- 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
-Returns a string representation of this object.
- TypeToken <T > - Class in com.google.gson.reflect Represents a generic type T
.
+registerTypeAdapter(Type, Object) -
+Method in class com.google.gson.GsonBuilder
+Configures Gson for custom serialization or deserialization.
+ 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.
+
@@ -155,7 +142,7 @@ Method in class com.google.gson.reflect.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-14.html b/gson/docs/javadocs/index-files/index-14.html
index 4519695f..c0ffe1a2 100644
--- a/gson/docs/javadocs/index-files/index-14.html
+++ b/gson/docs/javadocs/index-files/index-14.html
@@ -2,9 +2,9 @@
-
+
-U-Index
+S-Index
@@ -13,7 +13,7 @@ U-Index
@@ -74,11 +74,72 @@ function windowTitle()
-A C D E F G H I J L R S T U V
-
-U
+A C D E F G H I J L N P R S T U V
+
+S
-Until - Annotation Type in com.google.gson.annotations An annotation that indicates the version number until a member or a type should be present.
+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.
+ 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.
+
@@ -132,7 +193,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-15.html b/gson/docs/javadocs/index-files/index-15.html
index ee03fbce..4a37a6e5 100644
--- a/gson/docs/javadocs/index-files/index-15.html
+++ b/gson/docs/javadocs/index-files/index-15.html
@@ -2,9 +2,9 @@
-
+
-V-Index
+T-Index
@@ -13,7 +13,7 @@ V-Index
@@ -52,7 +52,7 @@ function windowTitle()
PREV LETTER
- NEXT LETTER
+ NEXT LETTER
FRAMES
NO FRAMES
@@ -74,25 +74,51 @@ function windowTitle()
-A C D E F G H I J L R S T U V
-
-V
+A C D E F G H I J L N P R S T U V
+
+T
-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.
- values() -
-Static method in enum com.google.gson.FieldNamingPolicy
-Returns an array containing the constants of this enum type, in
-the order they're declared.
- values() -
-Static method in enum com.google.gson.LongSerializationPolicy
-Returns an array containing the constants of this enum type, in
-the order they're declared.
-
+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(JsonElement) -
+Method in class com.google.gson.Gson
+Converts a tree of JsonElement
s into its equivalent JSON representation.
+ toJson(JsonElement, Appendable) -
+Method in class com.google.gson.Gson
+Writes out the equivalent JSON for a tree of JsonElement
s.
+ toJsonTree(Object) -
+Method in class com.google.gson.Gson
+This method serializes the specified object into its equivalent representation as a tree of
+ JsonElement
s.
+ 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 JsonElement
s.
+ 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
+Returns a string representation of this object.
+ 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
.
@@ -124,7 +150,7 @@ the order they're declared.
PREV LETTER
- NEXT LETTER
+ NEXT LETTER
FRAMES
NO FRAMES
@@ -146,7 +172,7 @@ the order they're declared.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-2.html b/gson/docs/javadocs/index-files/index-2.html
index fa296bfe..cb34e148 100644
--- a/gson/docs/javadocs/index-files/index-2.html
+++ b/gson/docs/javadocs/index-files/index-2.html
@@ -2,7 +2,7 @@
-
+
C-Index
@@ -74,7 +74,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
C
@@ -139,7 +139,7 @@ Method in interface com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-3.html b/gson/docs/javadocs/index-files/index-3.html
index 67b70293..92ed0357 100644
--- a/gson/docs/javadocs/index-files/index-3.html
+++ b/gson/docs/javadocs/index-files/index-3.html
@@ -2,7 +2,7 @@
-
+
D-Index
@@ -74,7 +74,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
D
@@ -145,7 +145,7 @@ Method in class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-4.html b/gson/docs/javadocs/index-files/index-4.html
index 1226bc1d..3e73dc24 100644
--- a/gson/docs/javadocs/index-files/index-4.html
+++ b/gson/docs/javadocs/index-files/index-4.html
@@ -2,7 +2,7 @@
-
+
E-Index
@@ -74,7 +74,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
E
@@ -84,6 +84,9 @@ Method in class com.google.gson.equals(Object) -
Method in class com.google.gson.JsonNull
All instances of JsonNull are the same
+ equals(Object) -
+Method in class com.google.gson.JsonPrimitive
+
equals(Object) -
Method in class com.google.gson.reflect.TypeToken
Method to test equality.
@@ -94,7 +97,8 @@ 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.
- Expose - Annotation Type in com.google.gson.annotations An annotation that indicates this member should be exposed for JSON
+ 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.
@@ -149,7 +153,7 @@ Method in class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-5.html b/gson/docs/javadocs/index-files/index-5.html
index 4a4814f8..f4f970c8 100644
--- a/gson/docs/javadocs/index-files/index-5.html
+++ b/gson/docs/javadocs/index-files/index-5.html
@@ -2,7 +2,7 @@
-
+
F-Index
@@ -74,11 +74,11 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
F
-FieldNamingPolicy - Enum in com.google.gson An enumeration that defines a few standard naming conventions for JSON field names. fromJson(String, Class<T>) -
+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. 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) -
@@ -92,6 +92,14 @@ 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(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.
@@ -146,7 +154,7 @@ Method in class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-6.html b/gson/docs/javadocs/index-files/index-6.html
index 2fd99f92..eb47ed56 100644
--- a/gson/docs/javadocs/index-files/index-6.html
+++ b/gson/docs/javadocs/index-files/index-6.html
@@ -2,7 +2,7 @@
-
+
G-Index
@@ -74,10 +74,14 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+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.
@@ -90,6 +94,10 @@ Static method in class com.google.gson.reflect.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.
@@ -219,6 +227,22 @@ Method in class com.google.gson.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.
@@ -287,7 +311,7 @@ Constructor for class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-7.html b/gson/docs/javadocs/index-files/index-7.html
index c8fbf312..ed8d02a5 100644
--- a/gson/docs/javadocs/index-files/index-7.html
+++ b/gson/docs/javadocs/index-files/index-7.html
@@ -2,7 +2,7 @@
-
+
H-Index
@@ -74,7 +74,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
H
@@ -84,9 +84,18 @@ Method in class com.google.gson.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.JsonPrimitive
+
hashCode() -
Method in class com.google.gson.reflect.TypeToken
Hashcode for this object.
+ 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
@@ -141,7 +150,7 @@ Method in class com.google.gson.reflect.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-8.html b/gson/docs/javadocs/index-files/index-8.html
index 20616b8d..1364aba4 100644
--- a/gson/docs/javadocs/index-files/index-8.html
+++ b/gson/docs/javadocs/index-files/index-8.html
@@ -2,7 +2,7 @@
-
+
I-Index
@@ -74,7 +74,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
I
@@ -166,7 +166,7 @@ Method in class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index-files/index-9.html b/gson/docs/javadocs/index-files/index-9.html
index 8624a524..af061e84 100644
--- a/gson/docs/javadocs/index-files/index-9.html
+++ b/gson/docs/javadocs/index-files/index-9.html
@@ -2,7 +2,7 @@
-
+
J-Index
@@ -74,7 +74,7 @@ function windowTitle()
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
J
@@ -102,6 +102,9 @@ Constructor for exception com.google.gson.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 JsonElement
s 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.
@@ -115,7 +118,14 @@ Constructor for class com.google.gson.JsonPrimitive
Create a primitive containing a character.
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.
+ 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 JsonElement
s from the specified reader
+ asynchronously. JsonStreamParser(String) -
+Constructor for class com.google.gson.JsonStreamParser
+
+ JsonStreamParser(Reader) -
+Constructor for class com.google.gson.JsonStreamParser
+
+
@@ -169,7 +179,7 @@ Constructor for class com.google.gson.
-A C D E F G H I J L R S T U V
+A C D E F G H I J L N P R S T U V
diff --git a/gson/docs/javadocs/index.html b/gson/docs/javadocs/index.html
index 5b0adeba..3cb2d019 100644
--- a/gson/docs/javadocs/index.html
+++ b/gson/docs/javadocs/index.html
@@ -2,10 +2,10 @@
-
+
-Gson 1.3 API
+Gson 1.4 API
@@ -79,7 +79,7 @@ function windowTitle()
-Gson 1.3 API
+Gson 1.4 API
diff --git a/gson/docs/javadocs/overview-tree.html b/gson/docs/javadocs/overview-tree.html
index e006883c..87cc33c1 100644
--- a/gson/docs/javadocs/overview-tree.html
+++ b/gson/docs/javadocs/overview-tree.html
@@ -2,10 +2,10 @@
-
+
-Class Hierarchy (Gson 1.3 API)
+Class Hierarchy (Gson 1.4 API)
@@ -14,7 +14,7 @@ Class Hierarchy (Gson 1.3 API)
@@ -88,10 +88,11 @@ Class Hierarchy