| Package | Description | 
|---|---|
| org.apache.sling.commons.json.io | 
| Modifier and Type | Method and Description | 
|---|---|
| JSONRenderer.Options | JSONRenderer. options()Return an Options object with default values | 
| JSONRenderer.Options | JSONRenderer.Options. withArraysForChildren(boolean b) | 
| JSONRenderer.Options | JSONRenderer.Options. withChildNameKey(String key) | 
| JSONRenderer.Options | JSONRenderer.Options. withChildrenKey(String key) | 
| JSONRenderer.Options | JSONRenderer.Options. withIndent(int n) | 
| JSONRenderer.Options | JSONRenderer.Options. withInitialIndent(int n) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | JSONRenderer. prettyPrint(JSONArray ja,
           JSONRenderer.Options opt)Pretty-print a JSONArray | 
| String | JSONRenderer. prettyPrint(JSONObject jo,
           JSONRenderer.Options opt)Make a prettyprinted JSON text of this JSONObject. | 
| String | JSONRenderer. valueToString(Object value,
             JSONRenderer.Options opt)Make a JSON String of an Object value, with rendering options | 
Copyright © 2015 The Apache Software Foundation. All rights reserved.