Home
last modified time | relevance | path

Searched refs:USE_DEFAULTS (Results 1 – 15 of 15) sorted by relevance

/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonInclude.java224 USE_DEFAULTS enumConstant
247 protected final static Value EMPTY = new Value(Include.USE_DEFAULTS,
248 Include.USE_DEFAULTS, null, null);
270 _valueInclusion = (vi == null) ? Include.USE_DEFAULTS : vi; in Value()
271 _contentInclusion = (ci == null) ? Include.USE_DEFAULTS : ci; in Value()
313 if ((_valueInclusion == Include.USE_DEFAULTS) in readResolve()
314 && (_contentInclusion == Include.USE_DEFAULTS) in readResolve()
338 boolean viDiff = (vi != _valueInclusion) && (vi != Include.USE_DEFAULTS); in withOverrides()
339 boolean ciDiff = (ci != _contentInclusion) && (ci != Include.USE_DEFAULTS); in withOverrides()
359 if (((valueIncl == Include.USE_DEFAULTS) || (valueIncl == null)) in construct()
[all …]
/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/
DIncludeTest.java73 assertEquals(Include.USE_DEFAULTS, empty.getValueInclusion()); in testSimpleMerge()
74 assertEquals(Include.USE_DEFAULTS, empty.getContentInclusion()); in testSimpleMerge()
79 assertEquals(Include.USE_DEFAULTS, v2.getContentInclusion()); in testSimpleMerge()
110 .withValueInclusion(JsonInclude.Include.USE_DEFAULTS); in testContentMerge76()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DMapInclusion2573Test.java62 .setInclude(JsonInclude.Value.construct(JsonInclude.Include.USE_DEFAULTS, in test2572MapOverrideUseDefaults()
63 JsonInclude.Include.USE_DEFAULTS)); in test2572MapOverrideUseDefaults()
DJsonIncludeOverrideTest.java34 @JsonInclude(JsonInclude.Include.USE_DEFAULTS)
47 @JsonInclude(JsonInclude.Include.USE_DEFAULTS)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DVirtualBeanPropertyWriter.java85 return (incl != JsonInclude.Include.ALWAYS) && (incl != JsonInclude.Include.USE_DEFAULTS); in _suppressNulls()
95 || (incl == JsonInclude.Include.USE_DEFAULTS)) { in _suppressableValue()
DBasicSerializerFactory.java862 …JsonInclude.Include incl = (inclV == null) ? JsonInclude.Include.USE_DEFAULTS : inclV.getContentIn… in _checkMapContentInclusion()
863 if (incl == JsonInclude.Include.USE_DEFAULTS in _checkMapContentInclusion()
933 …JsonInclude.Include incl = (inclV == null) ? JsonInclude.Include.USE_DEFAULTS : inclV.getContentIn… in buildMapEntrySerializer()
934 if (incl == JsonInclude.Include.USE_DEFAULTS in buildMapEntrySerializer()
1005 case USE_DEFAULTS: in _findInclusionWithContent()
1118 …JsonInclude.Include incl = (inclV == null) ? JsonInclude.Include.USE_DEFAULTS : inclV.getContentIn… in buildAtomicReferenceSerializer()
1122 if (incl == JsonInclude.Include.USE_DEFAULTS in buildAtomicReferenceSerializer()
DPropertyBuilder.java153 if (inclusion == JsonInclude.Include.USE_DEFAULTS) { // should not occur but... in buildWriter()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DIntrospectorPairTest.java48 .withValueInclusion(JsonInclude.Include.USE_DEFAULTS); in findPropertyInclusion()
102 .withValueInclusion(JsonInclude.Include.USE_DEFAULTS); in findPropertyInclusion()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DSimpleBeanPropertyDefinition.java96 = ((inclusion == null) || (inclusion == JsonInclude.Include.USE_DEFAULTS)) in construct()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DAnyGetterTest.java279 JsonInclude.Include.USE_DEFAULTS, in testAnyGetterConfigIncludeNonEmpty()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DReferenceTypeSerializer.java234 if (incl != JsonInclude.Include.USE_DEFAULTS) { in createContextual()
DMapSerializer.java565 if (incl != JsonInclude.Include.USE_DEFAULTS) { in createContextual()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DMapEntrySerializer.java230 if (incl != JsonInclude.Include.USE_DEFAULTS) { in createContextual()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DSerializationConfig.java776 return (incl == JsonInclude.Include.USE_DEFAULTS) ? JsonInclude.Include.ALWAYS : incl; in getSerializationInclusion()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DJacksonAnnotationIntrospector.java741 if (value.getValueInclusion() == JsonInclude.Include.USE_DEFAULTS) { in findPropertyInclusion()