A strategy (or policy) definition that is used to decide whether or not a field or top-level class should be serialized or deserialized as part of the JSON output/input. For serialization, if the #shouldSkipClass(Class) method returns false then that class or field type will not be part of t
| 94 | * @since 1.4 |
| 95 | */ |
| 96 | public interface ExclusionStrategy { |
| 97 | |
| 98 | /** |
| 99 | * @param f the field object that is under test |
| 100 | * @return true if the field should be ignored; otherwise false |
| 101 | */ |
| 102 | public boolean shouldSkipField(FieldAttributes f); |
| 103 | |
| 104 | /** |
| 105 | * @param clazz the class object that is under test |
| 106 | * @return true if the class should be ignored; otherwise false |
| 107 | */ |
| 108 | public boolean shouldSkipClass(Class<?> clazz); |
| 109 | } |
no outgoing calls
no test coverage detected