Annotation Type JohnzonProperty


@Target({METHOD,FIELD,ANNOTATION_TYPE}) @Retention(RUNTIME) public @interface JohnzonProperty
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Example: @JohnzonProperty("not_java_name") will consider the decorated property as called "not_java_name" on JSON side.
  • Element Details

    • value

      String value
      Example: @JohnzonProperty("not_java_name") will consider the decorated property as called "not_java_name" on JSON side.
      Returns:
      the JSON name for this property.