Package org.duracloud.common.json
Class JaxbJsonSerializer<T>
java.lang.Object
org.duracloud.common.json.JaxbJsonSerializer<T>
Handles serialization and deserialization of objects JSON objects into
Java using JAXB. The pojos where data is stored should include JAXB
annotations.
- Author:
- Bill Branan Date: 7/29/13
-
Constructor Summary
ConstructorsConstructorDescriptionJaxbJsonSerializer(Class<T> type) Creates a serializer which will work with the defined class type. -
Method Summary
-
Constructor Details
-
JaxbJsonSerializer
Creates a serializer which will work with the defined class type.- Parameters:
type-
-
-
Method Details
-
serialize
- Throws:
IOException
-
deserialize
- Throws:
IOException
-