Annotation Type JsonCreator


  • @Target({ANNOTATION_TYPE,METHOD})
    @Retention(RUNTIME)
    public @interface JsonCreator
    Marker annotation that can be used to define factory method as one to use for instantiating new instances of the associated class. The method should be a static and contain exactly one String argument.

    This annotation works only with EnumId.

    Since:
    18.10.2021