Package er.ajax.json.client

Examples of er.ajax.json.client.IJSONEnterpriseObject.globalID()


  public Object marshall(SerializerState state, Object p, Object o) throws MarshallException {
    try {
      IJSONEnterpriseObject eo = (IJSONEnterpriseObject) o;
      JSONObject obj = new JSONObject();
      obj.put("javaClass", o.getClass().getName());
      obj.put("gid", eo.globalID());
      //JSONObject eoData = new JSONObject();
      //obj.put("eo", eoData);
      return obj;
    }
    catch (JSONException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.