public abstract class JsonObjectCreator extends Object
| Constructor and Description |
|---|
JsonObjectCreator() |
| Modifier and Type | Method and Description |
|---|---|
static JSONObject |
create(Resource resource,
int maxRecursionLevels)
Dump given resource in JSON, optionally recursing into its objects
|
public static JSONObject create(Resource resource, int maxRecursionLevels) throws JSONException
tidy - if true the json dump is nicely formattedJSONExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.