Home
last modified time | relevance | path

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

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/
DTestCustomDeserializers.java368 module.addDeserializer(Immutable.class, in testDelegating()
392 module.addDeserializer(Immutable.class, in testJsonNodeDelegating()
422 module.addDeserializer(Bean375Outer.class, new Bean375OuterDeserializer()); in testContextReadValue()
423 module.addDeserializer(Bean375Inner.class, new Bean375InnerDeserializer()); in testContextReadValue()
449 new SimpleModule().addDeserializer(String.class, new UCStringDeserializer()) in testCustomStringDeser()
480 … .addDeserializer(String.class, new DummyDeserializer<String>("dummy", String.class)) in testModifyingCustomDeserializer()
491 .addDeserializer(Object.class, new MyNodeDeserializer()) in testCustomSerializerWithReadTree()
DNullHandlingTest.java99 module.addDeserializer(String.class, new FunnyNullDeserializer()); in testAnySetterNulls()
125 module.addDeserializer(String.class, new FunnyNullDeserializer()); in testCustomRootNulls()
145 module.addDeserializer(String.class, new FunnyNullDeserializer()); in testListOfNulls()
170 module.addDeserializer(String.class, new FunnyNullDeserializer()); in testMapOfNulls()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DUntypedDeserializationTest.java247 m.addDeserializer(String.class, new UCStringDeserializer()); in testUntypedWithCustomScalarDesers()
248 m.addDeserializer(Number.class, new CustomNumberDeserializer(13)); in testUntypedWithCustomScalarDesers()
269 m.addDeserializer(String.class, new UCStringDeserializer()); in testNonVanilla()
291 m.addDeserializer(List.class, new ListDeserializer()); in testUntypedWithListDeser()
308 m.addDeserializer(Map.class, new YMapDeserializer()); in testUntypedWithMapDeser()
413 .addDeserializer(String.class, new UCStringDeserializer()); in testValueUpdateCustomUntyped()
504 .addDeserializer(String.class, new UCStringDeserializer()); in testPolymorphicUntypedCustom()
DJDKStringLikeTypesTest.java229 module.addDeserializer(StackTraceElement.class, new MyStackTraceElementDeserializer()); in testStackTraceElementWithCustom()
DEnumDeserializationTest.java418 module.addDeserializer(Enum.class, new LcEnumDeserializer()); in testGenericEnumDeserialization()
DArrayDeserializationTest.java580 … testModule.addDeserializer(NonDeserializable[].class, new CustomNonDeserArrayDeserializer());
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleDeserializers.java50 public <T> void addDeserializer(Class<T> forClass, JsonDeserializer<? extends T> deser) in addDeserializer() method in SimpleDeserializers
73 addDeserializer((Class<Object>) cls, deser); in addDeserializers()
DSimpleModule.java329 public <T> SimpleModule addDeserializer(Class<T> type, JsonDeserializer<? extends T> deser) in addDeserializer() method in SimpleModule
336 _deserializers.addDeserializer(type, deser); in addDeserializer()
347 _keyDeserializers.addDeserializer(type, deser); in addKeyDeserializer()
DSimpleKeyDeserializers.java37 public SimpleKeyDeserializers addDeserializer(Class<?> forClass, KeyDeserializer deser) in addDeserializer() method in SimpleKeyDeserializers
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DSimpleModuleTest.java271 mod.addDeserializer(CustomBean.class, new CustomBeanDeserializer()); in testSimpleBeanDeserializer()
282 mod.addDeserializer(SimpleEnum.class, new SimpleEnumDeserializer()); in testSimpleEnumDeserializer()
293 mod1.addDeserializer(CustomBean.class, new CustomBeanDeserializer()); in testMultipleModules()
DSimpleModuleArgCheckTest.java25 mod.addDeserializer(String.class, null); in testInvalidForDeserializers()
DTestCustomEnumKeyDeserializer.java208 simpleModule.addDeserializer(SuperTypeEnum.class, new JsonDeserializer<SuperTypeEnum>() { in testCustomEnumKeySerializerWithPolymorphic()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/
DTestContextualDeserialization.java187 .addDeserializer(StringValue.class, new AnnotatedContextualDeserializer()
195 module.addDeserializer(StringValue.class, new MyContextualDeserializer()); in testSimple()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestTreeWithType.java124 testModule.addDeserializer(SavedCookie.class, new SavedCookieDeserializer()); in testIssue353()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/convert/
DTestUpdateViaObjectReader.java225 module.addDeserializer(DataA.class, new DataADeserializer()); in testIssue744()