Package org.codice.gsonsupport
Class GsonTypeAdapters.PersistenceMapTypeAdapter
java.lang.Object
com.google.gson.TypeAdapter<Object>
org.codice.gsonsupport.GsonTypeAdapters.PersistenceMapTypeAdapter
- Enclosing class:
GsonTypeAdapters
public static class GsonTypeAdapters.PersistenceMapTypeAdapter
extends com.google.gson.TypeAdapter<Object>
Adapter to convert read/write Persistence Objects
-
Field Summary
Fields -
Method Summary
Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Field Details
-
TEXT_SUFFIX
- See Also:
-
XML_SUFFIX
- See Also:
-
INT_SUFFIX
- See Also:
-
LONG_SUFFIX
- See Also:
-
DATE_SUFFIX
- See Also:
-
BINARY_SUFFIX
- See Also:
-
FACTORY
public static final com.google.gson.TypeAdapterFactory FACTORY
-
-
Method Details
-
write
- Specified by:
writein classcom.google.gson.TypeAdapter<Object>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<Object>- Throws:
IOException
-
readValue
public Object readValue(com.google.gson.stream.JsonReader in, String attributeType) throws IOException - Throws:
IOException
-