com.khubla.pragmatach.plugin.cluster.serialization
Class GenericJSONSerializer<T>
java.lang.Object
com.khubla.pragmatach.plugin.cluster.serialization.GenericJSONSerializer<T>
public class GenericJSONSerializer<T>
- extends Object
- Author:
- tome
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericJSONSerializer
public GenericJSONSerializer()
deserialize
public T deserialize(T t,
String json)
throws PragmatachException
- deserialize
- Throws:
PragmatachException
serialize
public String serialize(T t)
throws PragmatachException
- serialize object to JSON
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.