public class JSONFormatterCompact extends JSONFormatterBase<java.io.PrintStream> implements JSONFormatter
JSONFormatterBase.IgnoringNullIterator
cfg, ENTRY_COMPARATOR
Constructor and Description |
---|
JSONFormatterCompact(JSONFormatterConfiguration cfg) |
Modifier and Type | Method and Description |
---|---|
protected void |
append(java.io.PrintStream pout,
JSONArray jsonArray) |
protected void |
append(java.io.PrintStream pout,
JSONObject jsonObject) |
protected java.io.PrintStream |
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 JSONFormatterCompact(JSONFormatterConfiguration cfg) throws JSONException
JSONException
protected void append(java.io.PrintStream pout, JSONArray jsonArray) throws JSONException
append
in class JSONFormatterBase<java.io.PrintStream>
JSONException
protected void append(java.io.PrintStream pout, JSONObject jsonObject) throws JSONException
append
in class JSONFormatterBase<java.io.PrintStream>
JSONException
protected java.io.PrintStream setupPrintStream(java.io.OutputStream out, boolean autoflush, java.lang.String charset) throws java.io.UnsupportedEncodingException
JSONFormatterBase
setupPrintStream
in class JSONFormatterBase<java.io.PrintStream>
java.io.UnsupportedEncodingException