Class JsonObjectCreator
java.lang.Object
org.apache.sling.commons.json.sling.JsonObjectCreator
Deprecated.
Creates a JSONObject from a resource
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JSONObject
create
(org.apache.sling.api.resource.Resource resource, int maxRecursionLevels) Deprecated.Dump given resource in JSON, optionally recursing into its objects
-
Constructor Details
-
JsonObjectCreator
public JsonObjectCreator()Deprecated.
-
-
Method Details
-
create
public static JSONObject create(org.apache.sling.api.resource.Resource resource, int maxRecursionLevels) throws JSONException Deprecated.Dump given resource in JSON, optionally recursing into its objects- Throws:
JSONException
-