Home
last modified time | relevance | path

Searched refs:contentNulls (Results 1 – 8 of 8) sorted by relevance

/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonSetter.java47 Nulls contentNulls() default Nulls.DEFAULT; in contentNulls() method
77 protected Value(Nulls nulls, Nulls contentNulls) { in Value() argument
79 _contentNulls = contentNulls; in Value()
99 return construct(src.nulls(), src.contentNulls()); in from()
109 public static Value construct(Nulls nulls, Nulls contentNulls) { in construct() argument
113 if (contentNulls == null) { in construct()
114 contentNulls = Nulls.DEFAULT; in construct()
116 if (_empty(nulls, contentNulls)) { in construct()
119 return new Value(nulls, contentNulls); in construct()
152 public static Value forValueNulls(Nulls nulls, Nulls contentNulls) { in forValueNulls() argument
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DPropertyMetadata.java121 MergeInfo mergeInfo, Nulls valueNulls, Nulls contentNulls) in PropertyMetadata() argument
129 _contentNulls = contentNulls; in PropertyMetadata()
191 Nulls contentNulls) { in withNulls() argument
193 _mergeInfo, valueNulls, contentNulls); in withNulls()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/
DNullConversionsForEnumsTest.java20 @JsonSetter(contentNulls=Nulls.AS_EMPTY)
25 @JsonSetter(contentNulls=Nulls.SKIP)
DNullConversionsForContentTest.java18 @JsonSetter(contentNulls=Nulls.FAIL)
23 @JsonSetter(contentNulls=Nulls.AS_EMPTY)
28 @JsonSetter(contentNulls=Nulls.SKIP)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DPOJOPropertyBuilder.java259 Nulls contentNulls = null; in _getSetterInfo() local
281 contentNulls = setterInfo.nonDefaultContentNulls(); in _getSetterInfo()
286 if (needMerge || (valueNulls == null) || (contentNulls == null)) { in _getSetterInfo()
297 if (contentNulls == null) { in _getSetterInfo()
298 contentNulls = setterInfo.nonDefaultContentNulls(); in _getSetterInfo()
312 if (needMerge || (valueNulls == null) || (contentNulls == null)) { in _getSetterInfo()
317 if (contentNulls == null) { in _getSetterInfo()
318 contentNulls = setterInfo.nonDefaultContentNulls(); in _getSetterInfo()
327 if ((valueNulls != null) || (contentNulls != null)) { in _getSetterInfo()
328 metadata = metadata.withNulls(valueNulls, contentNulls); in _getSetterInfo()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/
DBasicDeserializerFactory.java1071 Nulls contentNulls = null; in _getSetterInfo() local
1083 contentNulls = setterInfo.nonDefaultContentNulls(); in _getSetterInfo()
1088 if (needMerge || (valueNulls == null) || (contentNulls == null)) { in _getSetterInfo()
1095 if (contentNulls == null) { in _getSetterInfo()
1096 contentNulls = setterInfo.nonDefaultContentNulls(); in _getSetterInfo()
1101 if (needMerge || (valueNulls == null) || (contentNulls == null)) { in _getSetterInfo()
1106 if (contentNulls == null) { in _getSetterInfo()
1107 contentNulls = setterInfo.nonDefaultContentNulls(); in _getSetterInfo()
1110 if ((valueNulls != null) || (contentNulls != null)) { in _getSetterInfo()
1111 metadata = metadata.withNulls(valueNulls, contentNulls); in _getSetterInfo()
/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/
DJsonSetterTest.java6 @JsonSetter(nulls=Nulls.FAIL, contentNulls=Nulls.SKIP)
/external/jackson-annotations/release-notes/
DVERSION-2.x41 #104: Add `JsonSetter.nulls`, `JsonSetter.contentNulls` for configurable null handling