Annotation Type JohnzonProperty


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

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

      • value

        java.lang.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.