public class JsonObjectDeserializer extends Object implements Deserializer
Deserializer implementation for deserializing JSON content.| Constructor and Description |
|---|
JsonObjectDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
<T extends Serializable> |
deserialize(Object source,
Class<T> type)
Deserializes the payload given to it back to an object of type T.
|
<T extends Serializable> |
deserializeUnformattedJson(Object source,
Class<T> type)
Deserialize unformatted Json content.
|
public <T extends Serializable> T deserialize(Object source, Class<T> type) throws SerializationExeption
Deserializerdeserialize in interface Deserializersource - sourcetype - The type or the return value which is expected.SerializationExeptionpublic <T extends Serializable> T deserializeUnformattedJson(Object source, Class<T> type) throws SerializationExeption
source - - The object which supposed to be deserialize.SerializationExeptionCopyright © 2012. All Rights Reserved.