Annotation Interface Json


@Target({METHOD,PARAMETER}) @Retention(SOURCE) public @interface Json
Serialize/Deserialize the annotated element as Json
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Content-type to use in request/responses.
  • Element Details

    • contentType

      String contentType
      Content-type to use in request/responses.
      Default:
      "application/json"