Annotation Type JsonApiRelationships


  • @Target({METHOD,FIELD})
    @Retention(RUNTIME)
    public @interface JsonApiRelationships
    Specifies the JSON:API relationships of a resource object. This annotation is only used for deserialization of JSON:API structured JSON to Java objects, and is useful for POST and PATCH requests. For serialization use a JsonApiModelBuilder.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value  
    • Element Detail

      • value

        java.lang.String value