/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/contextual/ |
D | TestContextualSerialization.java | 229 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/ |
D | SimpleModule.java | 277 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()
|
D | SimpleSerializers.java | 75 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/ |
D | SimpleModuleTest.java | 234 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()
|
D | SimpleModuleArgCheckTest.java | 51 mod.addSerializer(String.class, null); in testInvalidForSerializers() 58 mod.addSerializer((JsonSerializer<?>) null); in testInvalidForSerializers()
|
D | TestCustomEnumKeyDeserializer.java | 147 keySerializers.addSerializer(new TestEnumKeySerializer()); in setupModule()
|
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/ |
D | TestCustomSerializers.java | 214 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()
|
D | JsonValueTest.java | 294 .addSerializer(Bean838.class, new Bean838Serializer()) in testJsonValueWithCustomOverride()
|
D | TestEnumSerialization.java | 245 module.addSerializer(Enum.class, new LowerCasingEnumSerializer()); in testGenericEnumSerializer()
|
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ |
D | SequenceWriter.java | 312 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/ |
D | PropertySerializerMap.java | 154 …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/ |
D | TestExceptionsDuringWriting.java | 54 module.addSerializer(Bean.class, new SerializerWithErrors()); in testCatchAndRethrow()
|