Serialized Form
-
Package com.google.gson
-
Exception com.google.gson.JsonIOException
class JsonIOException extends JsonParseException implements Serializable- serialVersionUID:
- 1L
-
Exception com.google.gson.JsonParseException
class JsonParseException extends RuntimeException implements Serializable- serialVersionUID:
- -4086729973971783390L
-
Exception com.google.gson.JsonSyntaxException
class JsonSyntaxException extends JsonParseException implements Serializable- serialVersionUID:
- 1L
-
-
Package com.google.gson.internal
-
Class com.google.gson.internal.LazilyParsedNumber
class LazilyParsedNumber extends Number implements Serializable-
Serialization Methods
-
readObject
- Throws:
IOException
-
writeReplace
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:
ObjectStreamException
-
-
Serialized Fields
-
value
String value
-
-
-
Class com.google.gson.internal.LinkedTreeMap
-
Serialization Methods
-
readObject
- Throws:
IOException
-
writeReplace
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:
ObjectStreamException
-
-
Serialized Fields
-
comparator
Comparator<? super K> comparator
-
entrySet
LinkedTreeMap<K,
V>.EntrySet entrySet -
header
LinkedTreeMap.Node<K,
V> header -
keySet
LinkedTreeMap<K,
V>.KeySet keySet -
modCount
int modCount
-
root
LinkedTreeMap.Node<K,
V> root -
size
int size
-
-
-
-
Package com.google.gson.stream
-
Exception com.google.gson.stream.MalformedJsonException
class MalformedJsonException extends IOException implements Serializable- serialVersionUID:
- 1L
-