Annotation Interface TomlConfig


Annotation for specifying config properties defined in TomlSerializer and TomlParser.

Used primarily for specifying bean configuration properties on REST classes and methods.

Example:

@TomlConfig(sortKeys="true", inlineTableThreshold="5", nullValue="~") public class MyRestClass {}

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Maximum number of properties for a table to be written in inline-table format.
    String written for null values; the parser treats values matching this string as null.
    int
    Optional rank for this config.
    Sort keys alphabetically in output.
    Use inline tables when possible.