Annotation Type Json

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      Json.Naming naming
      Specify the naming convention to use for the properties on this type.
      String typeProperty
      When @Json.SubType is used this specifies the name of the property field that holds the type name (discriminator value).
    • Element Detail

      • naming

        Json.Naming naming
        Specify the naming convention to use for the properties on this type.
        Default:
        io.avaje.jsonb.Json.Naming.Match
      • typeProperty

        String typeProperty
        When @Json.SubType is used this specifies the name of the property field that holds the type name (discriminator value).

        This defaults to @type when unspecified.

        Default:
        ""