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
Deserializer
deserialize
in interface Deserializer
source
- sourcetype
- The type or the return value which is expected.SerializationExeption
public <T extends Serializable> T deserializeUnformattedJson(Object source, Class<T> type) throws SerializationExeption
source
- - The object which supposed to be deserialize.SerializationExeption
Copyright © 2012. All Rights Reserved.