Class WriterConfig

java.lang.Object
org.jmxtrans.agent.util.json.WriterConfig
Direct Known Subclasses:
PrettyPrint

public abstract class WriterConfig
extends java.lang.Object
Controls the formatting of the JSON output. Use one of the available constants.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static WriterConfig MINIMAL
    Write JSON in its minimal form, without any additional whitespace.
  • Constructor Summary

    Constructors
    Constructor Description
    WriterConfig()  
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • MINIMAL

      public static final WriterConfig MINIMAL
      Write JSON in its minimal form, without any additional whitespace. This is the default.
  • Constructor Details

    • WriterConfig

      public WriterConfig()