@JsonbAnnotation @Retention(value=RUNTIME) @Target(value={ANNOTATION_TYPE,TYPE,PACKAGE}) public @interface JsonbVisibility
Annotation provides way how to customize visibility strategy of the JSON Binding.
It allows for example to specify, that only public getters and setter should be visible.
Usage
The @JsonbVisibility
annotation can be used with the following program elements:
Modifier and Type | Required Element and Description |
---|---|
Class<? extends PropertyVisibilityStrategy> |
value
Custom property visibility strategy used to resolve visibility of the members.
|
public abstract Class<? extends PropertyVisibilityStrategy> value
Comments to: jsonb-dev@eclipse.org.
Copyright © 2019 Eclipse Foundation. All Rights Reserved.
Use is subject to license terms.