diff --git a/src/main/java/com/fasterxml/jackson/annotation/JsonApplyView.java b/src/main/java/com/fasterxml/jackson/annotation/JsonApplyView.java index b3a78cac..8a2426c9 100644 --- a/src/main/java/com/fasterxml/jackson/annotation/JsonApplyView.java +++ b/src/main/java/com/fasterxml/jackson/annotation/JsonApplyView.java @@ -14,8 +14,15 @@ * @JsonApplyView(BasicView.class) * public MyValue value; * - * which would specify that property annotated would be processed - * using View identified by {@code BasicView.class}. + * which specifies that the property annotated (and nested values reach through it) + * would be processed using View identified by {@code BasicView.class}. + *
+ * It is also possible to disable View processing for given property by: + *
+ * @JsonApplyView(JsonApplyView.NONE.class) + * public MyValue fullValue; + *+ * which similarly applies to properties reachable via {@code fullValue}. *
* Note: initially processing only covers serialization. * @@ -32,10 +39,11 @@ * special value {@link JsonApplyView.NONE} indicates that no View * should used. */ - public Class> value() default NONE.class; + public Class> value(); /** - * Special view indicating no views should be used for processing annotated property. + * Special view indicating no views should be used for processing annotated property: + * usually implemented by setting "Active View" to {@code null} value. */ static public interface NONE {} }