Home
last modified time | relevance | path

Searched refs:FAIL_ON_EMPTY_BEANS (Results 1 – 20 of 20) sorted by relevance

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/
DObjectWriterTest.java251 newW = w.without(SerializationFeature.FAIL_ON_EMPTY_BEANS, in testFeatureSettings()
254 assertFalse(newW.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testFeatureSettings()
256 assertSame(newW, newW.without(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testFeatureSettings()
257 assertSame(newW, newW.withoutFeatures(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testFeatureSettings()
259 assertNotSame(w, w.withoutFeatures(SerializationFeature.FAIL_ON_EMPTY_BEANS, in testFeatureSettings()
DObjectMapperTest.java346 m.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS); in testNonSerializabilityOfObject()
348 assertTrue(MAPPER.writer().without(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testNonSerializabilityOfObject()
350 assertFalse(MAPPER.writer().with(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testNonSerializabilityOfObject()
358 assertFalse(MAPPER.writer().with(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testEmptyBeanSerializability()
361 assertTrue(MAPPER.writer().without(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testEmptyBeanSerializability()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestEmptyClass.java88 … assertTrue(mapper.getSerializationConfig().isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testEmptyWithFeature()
89 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testEmptyWithFeature()
DAnyGetterTest.java189 m.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, true); in testAnyOnly()
195 m.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testAnyOnly()
DTestConfig.java87 assertTrue(cfg.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)); in testDefaults()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DUnknownSerializer.java32 if (provider.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in serialize()
44 if (provider.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DSerializationFeature.java72 FAIL_ON_EMPTY_BEANS(true), enumConstant
DSerializerProvider.java988 if (isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in isUnknownTypeSerializer()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/jsontype/
DTestSubtypes.java314 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, true); in testEmptyBean()
319 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testEmptyBean()
327 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testEmptyBean()
DTestTypedSerialization.java185 m.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testEmptyBean()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DInnerClassCreatorTest.java58 MAPPER.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
DTestCreators3.java147 .disable(SerializationFeature.FAIL_ON_EMPTY_BEANS) in testCreator541()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/views/
DTestViewsSerialization2.java147 .configure( SerializationFeature.FAIL_ON_EMPTY_BEANS, false ) in createMapper()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/cfg/
DSerConfigTest.java17 … assertTrue(config.hasSerializationFeatures(SerializationFeature.FAIL_ON_EMPTY_BEANS.getMask())); in testSerConfig()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/mixins/
DTestMixinSerWithViews.java195 .configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false ) in createObjectMapper()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/filter/
DTestJsonFilter.java62 mapper.configure(SerializationFeature.FAIL_ON_EMPTY_BEANS, false); in testCheckSiblingContextFilter()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestBeanConversions.java252 mapper.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS); in testIssue11()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DDefaultSerializerProvider.java254 if (!_config.isEnabled(SerializationFeature.FAIL_ON_EMPTY_BEANS)) { in hasSerializerFor()
/external/jackson-databind/
DREADME.md227 mapper.disable(SerializationFeature.FAIL_ON_EMPTY_BEANS);
/external/jackson-databind/release-notes/
DVERSION-2.x1122 #978: ObjectMapper#canSerialize(Object.class) returns false even though FAIL_ON_EMPTY_BEANS is disa…