Interface WriterConfig

  • All Known Implementing Classes:
    PrettyPrint

    public interface WriterConfig
    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.
      static WriterConfig UNICODE
      Write JSON in its minimal form, but escape almost all unicode signs; umlauts, smileys and more are escaped
    • Field Detail

      • MINIMAL

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

        static final WriterConfig UNICODE
        Write JSON in its minimal form, but escape almost all unicode signs; umlauts, smileys and more are escaped