Class EntityDescriptorJsonTranslator
java.lang.Object
com.google.gwt.core.ext.soyc.coderef.EntityDescriptorJsonTranslator
Serialize/Deserialize EntityDescriptor instances to/from json.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic PackageDescriptor
readJson
(com.google.gwt.thirdparty.json.JSONObject jsonObject) static com.google.gwt.thirdparty.json.JSONObject
-
Field Details
-
ENTITY_JS
- See Also:
-
ENTITY_NAME
- See Also:
-
FIELDS
- See Also:
-
METHOD_ID
- See Also:
-
METHOD_DEPENDENTS
- See Also:
-
METHODS
- See Also:
-
CLASSES
- See Also:
-
PACKAGES
- See Also:
-
-
Method Details
-
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
-