Home
last modified time | relevance | path

Searched refs:NON_ABSENT (Results 1 – 12 of 12) sorted by relevance

/external/jackson-annotations/src/test/java/com/fasterxml/jackson/annotation/
DIncludeTest.java23 JsonInclude.Value v1 = JsonInclude.Value.construct(Include.NON_ABSENT, null); in testEquality()
24 JsonInclude.Value v2 = JsonInclude.Value.construct(Include.NON_ABSENT, null); in testEquality()
25 JsonInclude.Value v3 = JsonInclude.Value.construct(Include.NON_ABSENT, Include.NON_EMPTY); in testEquality()
60 JsonInclude.Value.construct(Include.NON_ABSENT, null).toString()); in testStdOverrides()
76 JsonInclude.Value v2 = empty.withValueInclusion(Include.NON_ABSENT); in testSimpleMerge()
78 assertEquals(Include.NON_ABSENT, v2.getValueInclusion()); in testSimpleMerge()
107 .withValueInclusion(JsonInclude.Include.NON_ABSENT); in testContentMerge76()
116 assertEquals(JsonInclude.Include.NON_ABSENT, v12.getValueInclusion()); in testContentMerge76()
119 assertEquals(JsonInclude.Include.NON_ABSENT, v21.getValueInclusion()); in testContentMerge76()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DJDKAtomicTypesDeserTest.java146 mapper.setSerializationInclusion(JsonInclude.Include.NON_ABSENT); in testAbsentExclusion()
156 … JsonInclude.Value.construct(JsonInclude.Include.NON_ABSENT, JsonInclude.Include.ALWAYS); in testSerPropInclusionAlways()
166 … JsonInclude.Value.construct(JsonInclude.Include.NON_ABSENT, JsonInclude.Include.NON_NULL); in testSerPropInclusionNonNull()
176 … JsonInclude.Value.construct(JsonInclude.Include.NON_ABSENT, JsonInclude.Include.NON_ABSENT); in testSerPropInclusionNonAbsent()
186 … JsonInclude.Value.construct(JsonInclude.Include.NON_ABSENT, JsonInclude.Include.NON_EMPTY); in testSerPropInclusionNonEmpty()
270 mapper.setSerializationInclusion(JsonInclude.Include.NON_ABSENT); in testEmpty1256()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/introspect/
DIntrospectorPairTest.java34 .withValueInclusion(JsonInclude.Include.NON_ABSENT); in findPropertyInclusion()
503 assertEquals(JsonInclude.Include.NON_ABSENT, v12.getValueInclusion()); in testInclusionMerging()
506 assertEquals(JsonInclude.Include.NON_ABSENT, v21.getValueInclusion()); in testInclusionMerging()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/format/
DMapEntryFormatTest.java78 content=JsonInclude.Include.NON_ABSENT)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DPropertyBuilder.java191 case NON_ABSENT: // new with 2.6, to support Guava/JDK8 Optionals in buildWriter()
DBasicSerializerFactory.java885 case NON_ABSENT: // new with 2.6, to support Guava/JDK8 Optionals in _checkMapContentInclusion()
953 case NON_ABSENT: in buildMapEntrySerializer()
1137 case NON_ABSENT: in buildAtomicReferenceSerializer()
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonInclude.java130 NON_ABSENT, enumConstant
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DTestMapFiltering.java125 @JsonInclude(content=JsonInclude.Include.NON_ABSENT)
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DReferenceTypeSerializer.java247 case NON_ABSENT: in createContextual()
DMapSerializer.java578 case NON_ABSENT: in createContextual()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DMapEntrySerializer.java241 case NON_ABSENT: in createContextual()
/external/jackson-annotations/release-notes/
DVERSION-2.x82 - Add `JsonInclude.Include.NON_ABSENT` value, for excluding "absent" Optional values.