Annotation Interface JsonProperty


@Retention(RUNTIME) @Target({ANNOTATION_TYPE,FIELD,METHOD,PARAMETER}) public @interface JsonProperty
Simplified annotation to specify properties. To be replaced by ConfiguredName.
Author:
Fasterxml/Jackson
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Defines name of the logical property, i.e.
  • Element Details

    • value

      String value
      Defines name of the logical property, i.e. JSON object field name to use for the property. If value is empty String (which is the default), will try to use name of the field that is annotated.
      Default:
      ""