com.kfuntak.gwt.json.serialization.client
Interface ObjectSerializer


public interface ObjectSerializer


Method Summary
 Object deSerialize(com.google.gwt.json.client.JSONValue jsonValue, String className)
           
 Object deSerialize(String jsonString, String className)
           
 String serialize(Object pojo)
           
 com.google.gwt.json.client.JSONValue serializeToJson(Object pojo)
           
 

Method Detail

serialize

String serialize(Object pojo)

serializeToJson

com.google.gwt.json.client.JSONValue serializeToJson(Object pojo)

deSerialize

Object deSerialize(com.google.gwt.json.client.JSONValue jsonValue,
                   String className)
                   throws com.google.gwt.json.client.JSONException
Throws:
com.google.gwt.json.client.JSONException

deSerialize

Object deSerialize(String jsonString,
                   String className)
                   throws com.google.gwt.json.client.JSONException
Throws:
com.google.gwt.json.client.JSONException


Copyright © 2012. All Rights Reserved.