Package org.kohsuke.stapler.interceptor
Annotation Type JsonOutputFilter
-
@Retention(RUNTIME) @Target({METHOD,FIELD}) @InterceptorAnnotation(Processor.class) public @interface JsonOutputFilter
Annotation for filtering the JSON data returned from aJavaScriptMethod
annotated method. Put this annotation on your js proxied method and provide the properties you want filtered.- Author:
- Robert Sandell <sandell.robert@gmail.com>
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description String[]
excludes
Black-list of properties to exclude from the output.boolean
ignoreDefaultExcludes
IfJsonConfig.DEFAULT_EXCLUDES
should be ignored.boolean
ignoreTransient
If transient fields should be ignored.String[]
includes
White-list of properties to include in the output.
-