Class JsonOutput

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class JsonOutput
    extends java.lang.Object
    implements java.io.Closeable
    • Method Detail

      • setPrettyPrint

        public JsonOutput setPrettyPrint​(boolean enablePrettyPrinting)
      • writeClassName

        public JsonOutput writeClassName​(boolean writeClassName)
      • name

        public JsonOutput name​(java.lang.String name)
      • write

        public JsonOutput write​(java.lang.Object value)
      • write

        public JsonOutput write​(java.lang.Object input,
                                int depthRemaining)
      • close

        public void close()
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable