Package org.opencms.json
Interface I_CmsJsonifable
-
public interface I_CmsJsonifable
To convert objects to json.- Since:
- 7.6
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JSONObject
toJson()
Returns the JSON representation of this object.
-
-
-
Method Detail
-
toJson
JSONObject toJson() throws JSONException
Returns the JSON representation of this object.- Returns:
- the JSON representation of this object
- Throws:
JSONException
- if something goes wrong
-
-