Annotation Interface JsonSchema


@Retention(RUNTIME) public @interface JsonSchema
Annotation for use with JSON schemas.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Returns the class name when applicable.
    boolean
    Flag indicating whether to discard unrecognized property names (the default, false, i.e.
  • Element Details

    • dynamic

      boolean dynamic
      Flag indicating whether to discard unrecognized property names (the default, false, i.e. non-dynamic) or whether to retain all JSON object properties (true, dynamic)
      Returns:
      dynamic flag
      Default:
      false
    • className

      String className
      Returns the class name when applicable.
      Returns:
      class name
      Default:
      ""