Class EntityDescriptorJsonTranslator


  • public class EntityDescriptorJsonTranslator
    extends java.lang.Object
    Serialize/Deserialize EntityDescriptor instances to/from json.
    • Method Detail

      • writeJson

        public static com.google.gwt.thirdparty.json.JSONObject writeJson​(PackageDescriptor pkg)
                                                                   throws com.google.gwt.thirdparty.json.JSONException
        Throws:
        com.google.gwt.thirdparty.json.JSONException
      • readJson

        public static PackageDescriptor readJson​(com.google.gwt.thirdparty.json.JSONObject jsonObject)
                                          throws com.google.gwt.thirdparty.json.JSONException
        Throws:
        com.google.gwt.thirdparty.json.JSONException