Annotation Interface ServeJson
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
@Retention(RUNTIME)
@Target(METHOD)
@InterceptorAnnotation(ServeJson.Processor.class)
public @interface ServeJson
Serves the return value of a web method as JSON, using Jackson with its default configuration.
Adapted from ServeJson and JsonResponse in the pipeline-rest-api module of the
Pipeline Stage View plugin
(MIT License, Copyright (c) 2013-2016, CloudBees, Inc.).
-
Nested Class Summary
Nested Classes