public class JSONSerializer extends Object implements IEntitySerializer
Constructor and Description |
---|
JSONSerializer() |
Modifier and Type | Method and Description |
---|---|
Response |
deserialize(String json,
Class<?> cl)
method to deserialize the given data using the corresponding implementation algorithm
|
<T> String |
serialize(T object)
Method to serialize the given object using the corresponding implementation algorithm
|
public <T> String serialize(T object) throws SerializationException
serialize
in interface IEntitySerializer
SerializationException
public Response deserialize(String json, Class<?> cl) throws SerializationException
deserialize
in interface IEntitySerializer
SerializationException
Copyright © 2017. All rights reserved.