Package | Description |
---|---|
org.cakelab.json |
This package contains a JSON API and a JSON/POJO codec.
|
org.cakelab.json.format |
Modifier and Type | Method and Description |
---|---|
default JSONArray |
JSONCompoundType.arrayvalue(java.lang.Object o) |
default JSONArray |
JSONCompoundType.arrayvalue(java.lang.Object o,
JSONArray defaultValue) |
JSONArray |
JSONArray.getArray(int index) |
JSONArray |
JSONArray.getArray(int index,
JSONArray defaultValue) |
JSONArray |
JSONObject.getArray(java.lang.String key) |
JSONArray |
JSONObject.getArray(java.lang.String key,
JSONArray defaultValue) |
Modifier and Type | Method and Description |
---|---|
default JSONArray |
JSONCompoundType.arrayvalue(java.lang.Object o,
JSONArray defaultValue) |
JSONArray |
JSONArray.getArray(int index,
JSONArray defaultValue) |
JSONArray |
JSONObject.getArray(java.lang.String key,
JSONArray defaultValue) |
Modifier and Type | Method and Description |
---|---|
protected void |
JSONFormatterPrettyprint.append(org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream pout,
JSONArray jsonArray) |
protected void |
JSONFormatterCompact.append(java.io.PrintStream pout,
JSONArray jsonArray) |
protected abstract void |
JSONFormatterBase.append(T pout,
JSONArray o) |
java.lang.String |
JSONFormatter.format(JSONArray jsonArray) |
java.lang.String |
JSONFormatterBase.format(JSONArray jsonArray) |
void |
JSONFormatter.format(java.io.OutputStream out,
JSONArray jsonArray) |
void |
JSONFormatterBase.format(java.io.OutputStream out,
JSONArray jsonArray) |