Serialized Form
-
Package com.google.gson
-
Class com.google.gson.JsonIOException extends JsonParseException implements Serializable
- serialVersionUID:
- 1L
-
Class com.google.gson.JsonParseException extends java.lang.RuntimeException implements Serializable
- serialVersionUID:
- -4086729973971783390L
-
Class com.google.gson.JsonSyntaxException extends JsonParseException implements Serializable
- serialVersionUID:
- 1L
-
-
Package com.google.gson.internal
-
Class com.google.gson.internal.LazilyParsedNumber extends java.lang.Number implements Serializable
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException
- Throws:
java.io.IOException
-
writeReplace
private java.lang.Object writeReplace() throws java.io.ObjectStreamException
If somebody is unlucky enough to have to serialize one of these, serialize it as a BigDecimal so that they won't need Gson on the other side to deserialize it.- Throws:
java.io.ObjectStreamException
-
-
Serialized Fields
-
value
java.lang.String value
-
-
-
Class com.google.gson.internal.LinkedHashTreeMap extends java.util.AbstractMap<K,V> implements Serializable
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException
- Throws:
java.io.IOException
-
writeReplace
private java.lang.Object writeReplace() throws java.io.ObjectStreamException
If somebody is unlucky enough to have to serialize one of these, serialize it as a LinkedHashMap so that they won't need Gson on the other side to deserialize it. Using serialization defeats our DoS defence, so most apps shouldn't use it.- Throws:
java.io.ObjectStreamException
-
-
Serialized Fields
-
comparator
java.util.Comparator<? super K> comparator
-
entrySet
com.google.gson.internal.LinkedHashTreeMap.EntrySet entrySet
-
header
com.google.gson.internal.LinkedHashTreeMap.Node<K,V> header
-
keySet
com.google.gson.internal.LinkedHashTreeMap.KeySet keySet
-
modCount
int modCount
-
size
int size
-
table
com.google.gson.internal.LinkedHashTreeMap.Node<K,V>[] table
-
threshold
int threshold
-
-
-
Class com.google.gson.internal.LinkedTreeMap extends java.util.AbstractMap<K,V> implements Serializable
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException
- Throws:
java.io.IOException
-
writeReplace
private java.lang.Object writeReplace() throws java.io.ObjectStreamException
If somebody is unlucky enough to have to serialize one of these, serialize it as a LinkedHashMap so that they won't need Gson on the other side to deserialize it. Using serialization defeats our DoS defence, so most apps shouldn't use it.- Throws:
java.io.ObjectStreamException
-
-
Serialized Fields
-
comparator
java.util.Comparator<? super K> comparator
-
entrySet
com.google.gson.internal.LinkedTreeMap.EntrySet entrySet
-
header
com.google.gson.internal.LinkedTreeMap.Node<K,V> header
-
keySet
com.google.gson.internal.LinkedTreeMap.KeySet keySet
-
modCount
int modCount
-
root
com.google.gson.internal.LinkedTreeMap.Node<K,V> root
-
size
int size
-
-
-
-
Package com.google.gson.stream
-
Class com.google.gson.stream.MalformedJsonException extends java.io.IOException implements Serializable
- serialVersionUID:
- 1L
-