-
-
Constructor Summary
Constructors
-
Method Summary
Reads one JSON value (an array, object, string, number, boolean or null)
and converts it to a Java object.
void
Writes one JSON value (an array, object, string, number, boolean or null)
for value.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
Method Details
-
read
Reads one JSON value (an array, object, string, number, boolean or null)
and converts it to a Java object. Returns the converted object.
- Specified by:
read in class TypeAdapter<Timestamp>
- Returns:
- the converted Java object. May be null.
- Throws:
IOException
-
write
Writes one JSON value (an array, object, string, number, boolean or null)
for value.
- Specified by:
write in class TypeAdapter<Timestamp>
value - the Java object to write. May be null.
- Throws:
IOException