public abstract class JsonObjectCreator extends Object
Constructor and Description |
---|
JsonObjectCreator() |
Modifier and Type | Method and Description |
---|---|
static JSONObject |
create(org.apache.sling.api.resource.Resource resource,
int maxRecursionLevels)
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–2016 The Apache Software Foundation. All rights reserved.