Package javax.json.bind.config
Interface PropertyVisibilityStrategy
public interface PropertyVisibilityStrategy
Provides mechanism how to define customized property visibility strategy.
This strategy can be set via JsonbConfig
.
- Since:
- JSON Binding 1.0
- See Also:
-
Method Summary
-
Method Details
-
isVisible
Responds whether the given field should be considered as the JsonbProperty.- Parameters:
field
- member of the class- Returns:
- true if member should be visible
-
isVisible
Responds whether the given method should be considered as the JsonbProperty.- Parameters:
method
- member of the class- Returns:
- true if member should be visible
-