com.googlecode.jpattern.gwt.client.serializer
Class GwtProJsonObjectSerializer<T>

java.lang.Object
  extended by com.googlecode.jpattern.gwt.client.serializer.GwtProJsonObjectSerializer<T>
All Implemented Interfaces:
IObjectSerializer<T>

public class GwtProJsonObjectSerializer<T>
extends Object
implements IObjectSerializer<T>

Author:
Francesco Cina'

Constructor Summary
GwtProJsonObjectSerializer()
           
 
Method Summary
 T deserialize(String json)
           
 Class<T> getSerializerClass()
           
 String serialize(T bean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GwtProJsonObjectSerializer

public GwtProJsonObjectSerializer()
Method Detail

deserialize

public T deserialize(String json)
Specified by:
deserialize in interface IObjectSerializer<T>

serialize

public String serialize(T bean)
Specified by:
serialize in interface IObjectSerializer<T>

getSerializerClass

public Class<T> getSerializerClass()
Specified by:
getSerializerClass in interface IObjectSerializer<T>


Copyright © 2011. All Rights Reserved.