Annotation Type Json.Property

Enclosing class:
Json

@Retention(CLASS) @Target({FIELD,METHOD}) public static @interface Json.Property
Override the json property name.


   @Json.Property("$code")
   String referenceCode;

 
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Specify the name for this property.
  • Element Details

    • value

      String value
      Specify the name for this property.