Annotation Type ServeJson


  • @Retention(RUNTIME)
    @Target(METHOD)
    @InterceptorAnnotation(Processor.class)
    public @interface ServeJson
    Put this on stapler action methods (i.e. doXyz(...)) to render the returned POJO object as JSON.
    Author:
    Kohsuke Kawaguchi