Annotation Type JsonObject


  • @Target(TYPE)
    @Retention(RUNTIME)
    @Documented
    public @interface JsonObject
    Annotation all JSON transfered classes should be marked with. It was originally created to replace @JsonTypeName annotation which was not visible in the documentation. With @JsonTypeName annotation it would be impossible for our users to find a logical type name of a class to be sent to JSON-RPC services.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String value
      Logical type name for annotated type.
    • Element Detail

      • value

        java.lang.String value
        Logical type name for annotated type.