@Deprecated public abstract class JsonObjectCreator extends Object
Constructor and Description |
---|
JsonObjectCreator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JSONObject |
create(org.apache.sling.api.resource.Resource resource,
int maxRecursionLevels)
Deprecated.
Dump given resource in JSON, optionally recursing into its objects
|
public static JSONObject create(org.apache.sling.api.resource.Resource resource, int maxRecursionLevels) throws JSONException
JSONException
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.