public class JSONFormatterPrettyprint extends JSONFormatterBase<org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream> implements JSONFormatter
JSONFormatterBase.IgnoringNullIterator
cfg, ENTRY_COMPARATOR
Constructor and Description |
---|
JSONFormatterPrettyprint(JSONFormatterConfiguration format) |
Modifier and Type | Method and Description |
---|---|
protected void |
append(org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream pout,
JSONArray jsonArray) |
protected void |
append(org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream pout,
JSONObject jsonObject) |
protected org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream |
setupPrintStream(java.io.OutputStream out,
boolean autoflush,
java.lang.String charset)
called to setup a new PrintStream instance.
|
appendAny, appendNewLine, appendPrimitiveValue, appendUnicodeCharacter, appendUnicodeString, exceedsEncodingRange, format, format, format, format, format, format, format, format, getConfiguration, iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
format, format, format, format, format, format, format, format, getConfiguration
public JSONFormatterPrettyprint(JSONFormatterConfiguration format) throws JSONException
JSONException
protected void append(org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream pout, JSONArray jsonArray) throws JSONException
append
in class JSONFormatterBase<org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream>
JSONException
protected void append(org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream pout, JSONObject jsonObject) throws JSONException
append
in class JSONFormatterBase<org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream>
JSONException
protected org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream setupPrintStream(java.io.OutputStream out, boolean autoflush, java.lang.String charset) throws java.io.UnsupportedEncodingException
JSONFormatterBase
setupPrintStream
in class JSONFormatterBase<org.cakelab.json.format.JSONFormatterPrettyprint.IndentingPrintStream>
java.io.UnsupportedEncodingException