Home
last modified time | relevance | path

Searched refs:valueSer (Results 1 – 9 of 9) sorted by relevance

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DMapEntrySerializer.java126 JsonSerializer<?> keySer, JsonSerializer<?> valueSer) in MapEntrySerializer() argument
128 this(src, property, vts, keySer, valueSer, in MapEntrySerializer()
135 JsonSerializer<?> keySer, JsonSerializer<?> valueSer, in MapEntrySerializer() argument
145 _valueSerializer = (JsonSerializer<Object>) valueSer; in MapEntrySerializer()
310 JsonSerializer<Object> valueSer = _valueSerializer; in isEmpty() local
311 if (valueSer == null) { in isEmpty()
315 valueSer = _dynamicValueSerializers.serializerFor(cc); in isEmpty()
316 if (valueSer == null) { in isEmpty()
318 valueSer = _findAndAddDynamic(_dynamicValueSerializers, cc, prov); in isEmpty()
325 return valueSer.isEmpty(prov, value); in isEmpty()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DMapSerializer.java641 JsonSerializer<Object> valueSer = _valueSerializer; in isEmpty() local
643 if (valueSer != null) { in isEmpty()
652 if (!valueSer.isEmpty(prov, elemValue)) { in isEmpty()
670 valueSer = _findSerializer(prov, elemValue); in isEmpty()
676 if (!valueSer.isEmpty(prov, elemValue)) { in isEmpty()
844 JsonSerializer<Object> valueSer; in serializeOptionalFields() local
849 valueSer = provider.getDefaultNullValueSerializer(); in serializeOptionalFields()
851 valueSer = _valueSerializer; in serializeOptionalFields()
852 if (valueSer == null) { in serializeOptionalFields()
853 valueSer = _findSerializer(provider, valueElem); in serializeOptionalFields()
[all …]
DReferenceTypeSerializer.java113 TypeSerializer vts, JsonSerializer<?> valueSer, in ReferenceTypeSerializer() argument
123 _valueSerializer = (JsonSerializer<Object>) valueSer; in ReferenceTypeSerializer()
131 JsonSerializer<Object> valueSer = _valueSerializer; in unwrappingSerializer() local
132 if (valueSer != null) { in unwrappingSerializer()
135 valueSer = valueSer.unwrappingSerializer(transformer); in unwrappingSerializer()
136 if (valueSer == _valueSerializer) { in unwrappingSerializer()
142 if ((_valueSerializer == valueSer) && (_unwrapper == unwrapper)) { in unwrappingSerializer()
145 return withResolved(_property, _valueTypeSerializer, valueSer, unwrapper); in unwrappingSerializer()
164 TypeSerializer vts, JsonSerializer<?> valueSer, in withResolved() argument
DAtomicReferenceSerializer.java28 TypeSerializer vts, JsonSerializer<?> valueSer, in AtomicReferenceSerializer() argument
32 super(base, property, vts, valueSer, unwrapper, in AtomicReferenceSerializer()
38 TypeSerializer vts, JsonSerializer<?> valueSer, in withResolved() argument
41 return new AtomicReferenceSerializer(this, prop, vts, valueSer, unwrapper, in withResolved()
DMapProperty.java49 JsonSerializer<Object> keySer, JsonSerializer<Object> valueSer) in reset() argument
54 _valueSerializer = valueSer; in reset()
59 JsonSerializer<Object> keySer, JsonSerializer<Object> valueSer) in reset() argument
61 reset(key, _value, keySer, valueSer); in reset()
DAsArraySerializerBase.java290 JsonSerializer<?> valueSer = _elementSerializer; in acceptJsonFormatVisitor() local
291 if (valueSer == null) { in acceptJsonFormatVisitor()
295valueSer = visitor.getProvider().findContentValueSerializer(_elementType, _property); in acceptJsonFormatVisitor()
298 visitArrayFormat(visitor, typeHint, valueSer, _elementType); in acceptJsonFormatVisitor()
DObjectArraySerializer.java328 JsonSerializer<?> valueSer = _elementSerializer; in acceptJsonFormatVisitor() local
329 if (valueSer == null) { in acceptJsonFormatVisitor()
330 valueSer = visitor.getProvider().findContentValueSerializer(contentType, _property); in acceptJsonFormatVisitor()
332 arrayVisitor.itemsFormat(valueSer, contentType); in acceptJsonFormatVisitor()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DDefaultSerializerProvider.java410 JsonSerializer<Object> valueSer, TypeSerializer typeSer) in serializePolymorphic() argument
427 if (valueSer == null) { in serializePolymorphic()
429 valueSer = findValueSerializer(rootType, null); in serializePolymorphic()
431 valueSer = findValueSerializer(value.getClass(), null); in serializePolymorphic()
452 valueSer.serializeWithType(value, gen, this, typeSer); in serializePolymorphic()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/module/
DTestTypeModifiers.java136 public MyMapSerializer(JsonSerializer<Object> keySer, JsonSerializer<Object> valueSer) { in MyMapSerializer() argument
138 _valueSerializer = valueSer; in MyMapSerializer()