Home
last modified time | relevance | path

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

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/
DTestContextualSerialization.java229 module.addSerializer(String.class, new AnnotatedContextualSerializer()); in testMethodAnnotations()
240 module.addSerializer(String.class, new AnnotatedContextualSerializer()); in testClassAnnotations()
249 module.addSerializer(String.class, new AnnotatedContextualSerializer()); in testWrappedBean()
259 module.addSerializer(String.class, new AnnotatedContextualSerializer()); in testMethodAnnotationInArray()
270 module.addSerializer(String.class, new AnnotatedContextualSerializer()); in testMethodAnnotationInList()
281 module.addSerializer(String.class, new AnnotatedContextualSerializer()); in testMethodAnnotationInMap()
298 module.addSerializer(String.class, new ContextualAndResolvable()); in testResolveOnContextual()
320 .addSerializer(String.class, new AccumulatingContextual())) in testRootContextualization2429()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleModule.java277 public SimpleModule addSerializer(JsonSerializer<?> ser) in addSerializer() method in SimpleModule
283 _serializers.addSerializer(ser); in addSerializer()
294 public <T> SimpleModule addSerializer(Class<? extends T> type, JsonSerializer<T> ser) in addSerializer() method in SimpleModule
301 _serializers.addSerializer(type, ser); in addSerializer()
312 _keySerializers.addSerializer(type, ser); in addKeySerializer()
DSimpleSerializers.java75 public void addSerializer(JsonSerializer<?> ser) in addSerializer() method in SimpleSerializers
87 public <T> void addSerializer(Class<? extends T> type, JsonSerializer<T> ser) in addSerializer() method in SimpleSerializers
97 addSerializer(ser); in addSerializers()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DSimpleModuleTest.java234 mod.addSerializer(new CustomBeanSerializer()); in testSimpleBeanSerializer()
243 mod.addSerializer(new SimpleEnumSerializer()); in testSimpleEnumSerializer()
253 mod.addSerializer(new BaseSerializer()); in testSimpleInterfaceSerializer()
292 mod1.addSerializer(SimpleEnum.class, new SimpleEnumSerializer()); in testMultipleModules()
298 mod2.addSerializer(CustomBean.class, new CustomBeanSerializer()); in testMultipleModules()
DSimpleModuleArgCheckTest.java51 mod.addSerializer(String.class, null); in testInvalidForSerializers()
58 mod.addSerializer((JsonSerializer<?>) null); in testInvalidForSerializers()
DTestCustomEnumKeyDeserializer.java147 keySerializers.addSerializer(new TestEnumKeySerializer()); in setupModule()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DTestCustomSerializers.java214 module.addSerializer(Collection.class, new JsonSerializer<Collection>() { in testCustomLists()
235 module.addSerializer(new StdDelegatingSerializer(Immutable.class, in testDelegating()
279 module.addSerializer(String.class, new UCStringSerializer()); in testWithCustomElements()
DJsonValueTest.java294 .addSerializer(Bean838.class, new Bean838Serializer()) in testJsonValueWithCustomOverride()
DTestEnumSerialization.java245 module.addSerializer(Enum.class, new LowerCasingEnumSerializer()); in testGenericEnumSerializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DSequenceWriter.java312 result = _dynamicSerializers.addSerializer(type, in _findAndAddDynamic()
325 result = _dynamicSerializers.addSerializer(type, in _findAndAddDynamic()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DPropertySerializerMap.java154 …public final SerializerAndMapResult addSerializer(Class<?> type, JsonSerializer<Object> serializer… in addSerializer() method in PropertySerializerMap
161 …public final SerializerAndMapResult addSerializer(JavaType type, JsonSerializer<Object> serializer… in addSerializer() method in PropertySerializerMap
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/exc/
DTestExceptionsDuringWriting.java54 module.addSerializer(Bean.class, new SerializerWithErrors()); in testCatchAndRethrow()