Home
last modified time | relevance | path

Searched refs:typeSer (Results 1 – 25 of 60) sorted by relevance

123

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DAsArraySerializerBase.java169 TypeSerializer typeSer = _valueTypeSerializer; in createContextual() local
170 if (typeSer != null) { in createContextual()
171 typeSer = typeSer.forProperty(property); in createContextual()
207 || (_valueTypeSerializer != typeSer) in createContextual()
209 return withResolved(property, typeSer, ser, unwrapSingle); in createContextual()
254 TypeSerializer typeSer) throws IOException in serializeWithType() argument
256 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
257 typeSer.typeId(value, JsonToken.START_ARRAY)); in serializeWithType()
261 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DTimeZoneSerializer.java23 SerializerProvider provider, TypeSerializer typeSer) throws IOException in serializeWithType() argument
26 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
27 typeSer.typeId(value, TimeZone.class, JsonToken.VALUE_STRING)); in serializeWithType()
29 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DRawSerializer.java36 TypeSerializer typeSer) in serializeWithType() argument
39 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
40 typeSer.typeId(value, JsonToken.VALUE_EMBEDDED_OBJECT)); in serializeWithType()
42 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DInetSocketAddressSerializer.java43 SerializerProvider provider, TypeSerializer typeSer) throws IOException in serializeWithType() argument
46 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
47 typeSer.typeId(value, InetSocketAddress.class, JsonToken.VALUE_STRING)); in serializeWithType()
49 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DStdScalarSerializer.java52 TypeSerializer typeSer) throws IOException in serializeWithType() argument
55 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
56 typeSer.typeId(value, JsonToken.VALUE_STRING)); in serializeWithType()
58 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DTokenBufferSerializer.java49 SerializerProvider provider, TypeSerializer typeSer) throws IOException in serializeWithType() argument
53 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
54 typeSer.typeId(value, JsonToken.VALUE_EMBEDDED_OBJECT)); in serializeWithType()
56 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DCollectionSerializer.java124 final TypeSerializer typeSer = _valueTypeSerializer; in serializeContents() local
144 if (typeSer == null) { in serializeContents()
147 serializer.serializeWithType(elem, g, provider, typeSer); in serializeContents()
162 TypeSerializer typeSer = _valueTypeSerializer; in serializeContentsUsing() local
170 if (typeSer == null) { in serializeContentsUsing()
173 ser.serializeWithType(elem, g, provider, typeSer); in serializeContentsUsing()
DToStringSerializerBase.java53 TypeSerializer typeSer) in serializeWithType() argument
56 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
57 typeSer.typeId(value, JsonToken.VALUE_STRING)); in serializeWithType()
59 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DInetAddressSerializer.java90 SerializerProvider provider, TypeSerializer typeSer) throws IOException in serializeWithType() argument
93 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
94 typeSer.typeId(value, InetAddress.class, JsonToken.VALUE_STRING)); in serializeWithType()
96 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DByteArraySerializer.java54 TypeSerializer typeSer) in serializeWithType() argument
58 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
59 typeSer.typeId(value, JsonToken.VALUE_EMBEDDED_OBJECT)); in serializeWithType()
62 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DReferenceTypeSerializer.java201 TypeSerializer typeSer = _valueTypeSerializer; in createContextual() local
202 if (typeSer != null) { in createContextual()
203 typeSer = typeSer.forProperty(property); in createContextual()
222 && (_valueTypeSerializer == typeSer) && (_valueSerializer == ser)) { in createContextual()
225 refSer = withResolved(property, typeSer, ser, _unwrapper); in createContextual()
393 TypeSerializer typeSer) throws IOException in serializeWithType() argument
417 ser.serializeWithType(value, g, provider, typeSer); in serializeWithType()
DBeanSerializerBase.java379 TypeSerializer typeSer = type.getContentType().getTypeHandler(); in resolve() local
380 if (typeSer != null) { in resolve()
385 …ct> ser2 = (JsonSerializer<Object>)((ContainerSerializer<?>) ser).withValueTypeSerializer(typeSer); in resolve()
639 SerializerProvider provider, TypeSerializer typeSer) in serializeWithType() argument
644 _serializeWithObjectId(bean, gen, provider, typeSer); in serializeWithType()
649 WritableTypeId typeIdDef = _typeIdDef(typeSer, bean, JsonToken.START_OBJECT); in serializeWithType()
650 typeSer.writeTypePrefix(gen, typeIdDef); in serializeWithType()
656 typeSer.writeTypeSuffix(gen, typeIdDef); in serializeWithType()
689 TypeSerializer typeSer) throws IOException in _serializeWithObjectId() argument
703 _serializeObjectId(bean, gen, provider, typeSer, objectId); in _serializeWithObjectId()
[all …]
DArraySerializerBase.java128 TypeSerializer typeSer) in serializeWithType() argument
131 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
132 typeSer.typeId(value, JsonToken.START_ARRAY)); in serializeWithType()
136 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DNumberSerializers.java158 SerializerProvider provider, TypeSerializer typeSer) in serializeWithType() argument
235 SerializerProvider provider, TypeSerializer typeSer) in serializeWithType() argument
241 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
243 typeSer.typeId(value, JsonToken.VALUE_NUMBER_FLOAT)); in serializeWithType()
245 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DIterableSerializer.java84 final TypeSerializer typeSer = _valueTypeSerializer; in serializeContents() local
106 if (typeSer == null) { in serializeContents()
109 currSerializer.serializeWithType(elem, jgen, provider, typeSer); in serializeContents()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DIteratorSerializer.java83 final TypeSerializer typeSer = _valueTypeSerializer; in serializeContents() local
88 } else if (typeSer == null) { in serializeContents()
91 serializer.serializeWithType(elem, g, provider, typeSer); in serializeContents()
99 final TypeSerializer typeSer = _valueTypeSerializer; in _serializeDynamicContents() local
118 if (typeSer == null) { in _serializeDynamicContents()
121 serializer.serializeWithType(elem, g, provider, typeSer); in _serializeDynamicContents()
DTypeWrappedSerializer.java23 public TypeWrappedSerializer(TypeSerializer typeSer, JsonSerializer<?> ser) in TypeWrappedSerializer() argument
26 _typeSerializer = typeSer; in TypeWrappedSerializer()
37 TypeSerializer typeSer) throws IOException in serializeWithType() argument
41 _serializer.serializeWithType(value, g, provider, typeSer); in serializeWithType()
DUnknownSerializer.java42 TypeSerializer typeSer) throws IOException in serializeWithType() argument
47 WritableTypeId typeIdDef = typeSer.writeTypePrefix(gen, in serializeWithType()
48 typeSer.typeId(value, JsonToken.START_OBJECT)); in serializeWithType()
49 typeSer.writeTypeSuffix(gen, typeIdDef); in serializeWithType()
DStringCollectionSerializer.java86 SerializerProvider provider, TypeSerializer typeSer) in serializeWithType() argument
89 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
90 typeSer.typeId(value, JsonToken.START_ARRAY)); in serializeWithType()
93 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DIndexedStringListSerializer.java83 TypeSerializer typeSer) in serializeWithType() argument
86 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
87 typeSer.typeId(value, JsonToken.START_ARRAY)); in serializeWithType()
90 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
DBeanAsArraySerializer.java142 SerializerProvider provider, TypeSerializer typeSer) in serializeWithType() argument
149 _serializeWithObjectId(bean, gen, provider, typeSer); in serializeWithType()
152 WritableTypeId typeIdDef = _typeIdDef(typeSer, bean, JsonToken.START_ARRAY); in serializeWithType()
153 typeSer.writeTypePrefix(gen, typeIdDef); in serializeWithType()
156 typeSer.writeTypeSuffix(gen, typeIdDef); in serializeWithType()
DIndexedListSerializer.java135 final TypeSerializer typeSer = _valueTypeSerializer; in serializeContentsUsing() local
141 } else if (typeSer == null) { in serializeContentsUsing()
144 ser.serializeWithType(elem, jgen, provider, typeSer); in serializeContentsUsing()
162 final TypeSerializer typeSer = _valueTypeSerializer; in serializeTypedContents() local
181 serializer.serializeWithType(elem, jgen, provider, typeSer); in serializeTypedContents()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/
DNioPathSerializer.java34 SerializerProvider provider, TypeSerializer typeSer) throws IOException in serializeWithType() argument
37 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
38 typeSer.typeId(value, Path.class, JsonToken.VALUE_STRING)); in serializeWithType()
40 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DValueNode.java43 TypeSerializer typeSer) in serializeWithType() argument
46 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
47 typeSer.typeId(this, asToken())); in serializeWithType()
49 typeSer.writeTypeSuffix(g, typeIdDef); in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBeanSerializerFactory.java309 TypeSerializer typeSer; in findPropertyTypeSerializer() local
313 typeSer = createTypeSerializer(config, baseType); in findPropertyTypeSerializer()
317 typeSer = b.buildTypeSerializer(config, baseType, subtypes); in findPropertyTypeSerializer()
319 return typeSer; in findPropertyTypeSerializer()
339 TypeSerializer typeSer; in findPropertyContentTypeSerializer() local
343 typeSer = createTypeSerializer(config, contentType); in findPropertyContentTypeSerializer()
347 typeSer = b.buildTypeSerializer(config, contentType, subtypes); in findPropertyContentTypeSerializer()
349 return typeSer; in findPropertyContentTypeSerializer()
434 TypeSerializer typeSer = createTypeSerializer(config, valueType); in constructBeanOrAddOnSerializer() local
442 typeSer, null, null, /*filterId*/ null); in constructBeanOrAddOnSerializer()
[all …]

123