Annotation Interface Ini


Annotation for customizing INI serialization and parsing behavior on classes, methods, and fields.

Can be used in the following locations:

  • Marshalled classes/methods/fields.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Comment text to emit before this property.
    boolean
    Force JSON5 encoding even for simple values.
    Custom section name override.
  • Element Details

    • section

      Custom section name override.

      For beans: overrides the property name as the section header.

      Returns:
      The annotation value.
      Default:
      ""
    • comment

      Comment text to emit before this property.
      Returns:
      The annotation value.
      Default:
      ""
    • json5Encoding

      boolean json5Encoding
      Force JSON5 encoding even for simple values.
      Returns:
      The annotation value.
      Default:
      false