Class TomlWriter

All Implemented Interfaces:
Closeable, Flushable, Appendable, AutoCloseable

public class TomlWriter extends SerializerWriter<TomlWriter>
Specialized writer for serializing TOML v1.0.0.

Extends SerializerWriter with TOML-specific methods for tables, key-value pairs, and typed values.

Notes:
  • This class is not intended for external use.
See Also:
  • Constructor Details

    • TomlWriter

      protected TomlWriter(Writer out, boolean useWhitespace, int maxIndent, boolean trimStrings, UriResolver uriResolver)
      Constructor.
      Parameters:
      out - The writer being wrapped.
      useWhitespace - If true, use whitespace for formatting.
      maxIndent - The maximum indentation level.
      trimStrings - If true, trim strings before serialization.
      uriResolver - The URI resolver.