Home
last modified time | relevance | path

Searched refs:serializers (Results 1 – 25 of 52) sorted by relevance

123

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DDateTimeSerializerBase.java62 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
67 JsonFormat.Value format = findFormatOverrides(serializers, property, handledType()); in createContextual()
82 : serializers.getLocale(); in createContextual()
85 : serializers.getTimeZone(); in createContextual()
99 DateFormat df0 = serializers.getConfig().getDateFormat(); in createContextual()
116 serializers.reportBadDefinition(handledType(), String.format( in createContextual()
142 public boolean isEmpty(SerializerProvider serializers, T value) { in isEmpty() argument
152 public JsonNode getSchema(SerializerProvider serializers, Type typeHint) { in getSchema() argument
154 return createSchemaNode(_asTimestamp(serializers) ? "number" : "string", true); in getSchema()
170 public abstract void serialize(T value, JsonGenerator gen, SerializerProvider serializers) in serialize() argument
[all …]
DEnumSerializer.java88 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
91 JsonFormat.Value format = findFormatOverrides(serializers, in createContextual()
119 public final void serialize(Enum<?> en, JsonGenerator gen, SerializerProvider serializers) in serialize() argument
122 if (_serializeAsIndex(serializers)) { in serialize()
127 if (serializers.isEnabled(SerializationFeature.WRITE_ENUMS_USING_TO_STRING)) { in serialize()
163 SerializerProvider serializers = visitor.getProvider(); in acceptJsonFormatVisitor() local
164 if (_serializeAsIndex(serializers)) { in acceptJsonFormatVisitor()
173 if ((serializers != null) && in acceptJsonFormatVisitor()
174 serializers.isEnabled(SerializationFeature.WRITE_ENUMS_USING_TO_STRING)) { in acceptJsonFormatVisitor()
194 protected final boolean _serializeAsIndex(SerializerProvider serializers) in _serializeAsIndex() argument
[all …]
DSerializableSerializer.java30 public boolean isEmpty(SerializerProvider serializers, JsonSerializable value) { in isEmpty() argument
32 return ((JsonSerializable.Base) value).isEmpty(serializers); in isEmpty()
38 …public void serialize(JsonSerializable value, JsonGenerator gen, SerializerProvider serializers) t… in serialize() argument
39 value.serialize(gen, serializers); in serialize()
43 …l void serializeWithType(JsonSerializable value, JsonGenerator gen, SerializerProvider serializers, in serializeWithType() argument
45 value.serializeWithType(gen, serializers, typeSer); in serializeWithType()
DObjectArraySerializer.java125 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
139 final AnnotationIntrospector intr = serializers.getAnnotationIntrospector(); in createContextual()
143 ser = serializers.serializerInstance(m, serDef); in createContextual()
147 JsonFormat.Value format = findFormatOverrides(serializers, property, handledType()); in createContextual()
155 ser = findContextualConvertingSerializer(serializers, property, ser); in createContextual()
161 ser = serializers.findContentValueSerializer(_elementType, property); in createContextual()
235 PropertySerializerMap serializers = _dynamicSerializers; in serializeContents() local
243 JsonSerializer<Object> serializer = serializers.serializerFor(cc); in serializeContents()
246 serializer = _findAndAddDynamic(serializers, in serializeContents()
249 serializer = _findAndAddDynamic(serializers, cc, provider); in serializeContents()
[all …]
DStaticListSerializerBase.java62 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
70 final AnnotationIntrospector intr = serializers.getAnnotationIntrospector(); in createContextual()
75 ser = serializers.serializerInstance(m, serDef); in createContextual()
79 JsonFormat.Value format = findFormatOverrides(serializers, property, handledType()); in createContextual()
84 ser = findContextualConvertingSerializer(serializers, property, ser); in createContextual()
86 ser = serializers.findContentValueSerializer(String.class, property); in createContextual()
97 return new CollectionSerializer(serializers.constructType(String.class), in createContextual()
DCollectionSerializer.java123 PropertySerializerMap serializers = _dynamicSerializers; in serializeContents() local
134 JsonSerializer<Object> serializer = serializers.serializerFor(cc); in serializeContents()
137 serializer = _findAndAddDynamic(serializers, in serializeContents()
140 serializer = _findAndAddDynamic(serializers, cc, provider); in serializeContents()
142 serializers = _dynamicSerializers; in serializeContents()
DBooleanSerializer.java47 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
50 JsonFormat.Value format = findFormatOverrides(serializers, in createContextual()
130 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
133 JsonFormat.Value format = findFormatOverrides(serializers, in createContextual()
DAsArraySerializerBase.java165 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
178 final AnnotationIntrospector intr = serializers.getAnnotationIntrospector(); in createContextual()
183 ser = serializers.serializerInstance(m, serDef); in createContextual()
187 JsonFormat.Value format = findFormatOverrides(serializers, property, handledType()); in createContextual()
195 ser = findContextualConvertingSerializer(serializers, property, ser); in createContextual()
201 ser = serializers.findContentValueSerializer(_elementType, property); in createContextual()
DInetAddressSerializer.java48 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
51 JsonFormat.Value format = findFormatOverrides(serializers, in createContextual()
DStdKeySerializers.java291 public void serialize(Object value, JsonGenerator g, SerializerProvider serializers) in serialize() argument
294 if (serializers.isEnabled(SerializationFeature.WRITE_ENUMS_USING_TO_STRING)) { in serialize()
300 if (serializers.isEnabled(SerializationFeature.WRITE_ENUM_KEYS_USING_INDEX)) { in serialize()
DArraySerializerBase.java91 public JsonSerializer<?> createContextual(SerializerProvider serializers, in createContextual() argument
98 JsonFormat.Value format = findFormatOverrides(serializers, property, handledType()); in createContextual()
DStdDelegatingSerializer.java267 protected JsonSerializer<Object> _findSerializer(Object value, SerializerProvider serializers) in _findSerializer() argument
271 return serializers.findValueSerializer(value.getClass()); in _findSerializer()
DStdSerializer.java489 protected JsonSerializer<?> findAnnotatedContentSerializer(SerializerProvider serializers, in findAnnotatedContentSerializer() argument
496 final AnnotationIntrospector intr = serializers.getAnnotationIntrospector(); in findAnnotatedContentSerializer()
500 return serializers.serializerInstance(m, serDef); in findAnnotatedContentSerializer()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DIndexedListSerializer.java101 PropertySerializerMap serializers = _dynamicSerializers; in serializeContents() local
108 JsonSerializer<Object> serializer = serializers.serializerFor(cc); in serializeContents()
112 serializer = _findAndAddDynamic(serializers, in serializeContents()
115 serializer = _findAndAddDynamic(serializers, cc, provider); in serializeContents()
117 serializers = _dynamicSerializers; in serializeContents()
163 PropertySerializerMap serializers = _dynamicSerializers; in serializeTypedContents() local
170 JsonSerializer<Object> serializer = serializers.serializerFor(cc); in serializeTypedContents()
174 serializer = _findAndAddDynamic(serializers, in serializeTypedContents()
177 serializer = _findAndAddDynamic(serializers, cc, provider); in serializeTypedContents()
179 serializers = _dynamicSerializers; in serializeTypedContents()
DIteratorSerializer.java100 PropertySerializerMap serializers = _dynamicSerializers; in _serializeDynamicContents() local
108 JsonSerializer<Object> serializer = serializers.serializerFor(cc); in _serializeDynamicContents()
111 serializer = _findAndAddDynamic(serializers, in _serializeDynamicContents()
114 serializer = _findAndAddDynamic(serializers, cc, provider); in _serializeDynamicContents()
116 serializers = _dynamicSerializers; in _serializeDynamicContents()
DReadOnlyClassToSerializerMap.java26 public ReadOnlyClassToSerializerMap(Map<TypeKey,JsonSerializer<Object>> serializers) in ReadOnlyClassToSerializerMap() argument
28 int size = findSize(serializers.size()); in ReadOnlyClassToSerializerMap()
32 for (Map.Entry<TypeKey,JsonSerializer<Object>> entry : serializers.entrySet()) { in ReadOnlyClassToSerializerMap()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/util/
DRawValue.java61 public void serialize(JsonGenerator gen, SerializerProvider serializers) throws IOException in serialize() argument
64 ((JsonSerializable) _value).serialize(gen, serializers); in serialize()
71 public void serializeWithType(JsonGenerator gen, SerializerProvider serializers, in serializeWithType() argument
75 ((JsonSerializable) _value).serializeWithType(gen, serializers, typeSer); in serializeWithType()
80 serialize(gen, serializers); in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DJsonSerializable.java28 public void serialize(JsonGenerator gen, SerializerProvider serializers) throws IOException; in serialize() argument
43 public void serializeWithType(JsonGenerator gen, SerializerProvider serializers, in serializeWithType() argument
60 public boolean isEmpty(SerializerProvider serializers) { in isEmpty() argument
DJsonSerializer.java122 public abstract void serialize(T value, JsonGenerator gen, SerializerProvider serializers) in serialize() argument
152 public void serializeWithType(T value, JsonGenerator gen, SerializerProvider serializers, in serializeWithType() argument
160 serializers.reportBadDefinition(clz, String.format( in serializeWithType()
/external/markdown/tests/
Dtest_apis.py130 markdown.serializers.to_xhtml_string(root),
141 markdown.serializers.to_xhtml_string(tree.getroot()),
433 markdown.serializers.to_html_string(self.comment),
442 markdown.serializers.to_html_string(self.comment),
515 markdown.serializers.to_html_string(el),
538 markdown.serializers.to_xhtml_string(el),
555 markdown.serializers.to_xhtml_string(el),
564 markdown.serializers.to_xhtml_string(pi),
583 markdown.serializers.to_xhtml_string(div),
602 markdown.serializers.to_xhtml_string(div),
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/
DBasicSerializerFactory.java215 for (Serializers serializers : _factoryConfig.keySerializers()) { in createKeySerializer()
216 ser = serializers.findSerializer(config, keyType, beanDesc); in createKeySerializer()
268 for (Serializers serializers : _factoryConfig.keySerializers()) { in createKeySerializer()
269 ser = serializers.findSerializer(config, keyType, beanDesc); in createKeySerializer()
623 for (Serializers serializers : customSerializers()) { // (1) Custom in buildContainerSerializer()
624 ser = serializers.findMapLikeSerializer(config, in buildContainerSerializer()
651 for (Serializers serializers : customSerializers()) { // (1) Custom in buildContainerSerializer()
652 ser = serializers.findCollectionLikeSerializer(config, in buildContainerSerializer()
694 for (Serializers serializers : customSerializers()) { // (1) Custom in buildCollectionSerializer()
695 ser = serializers.findCollectionSerializer(config, in buildCollectionSerializer()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/module/
DSimpleModule.java157 List<JsonSerializer<?>> serializers) { in SimpleModule() argument
158 this(name, version, null, serializers); in SimpleModule()
166 List<JsonSerializer<?>> serializers) in SimpleModule() argument
173 if (serializers != null) { in SimpleModule()
174 _serializers = new SimpleSerializers(serializers); in SimpleModule()
/external/oss-fuzz/projects/kryo/
DDeserializeStringFuzzer.java22 import com.esotericsoftware.kryo.serializers.CompatibleFieldSerializer;
/external/rust/crates/sec1/patches/
Dstd.diff6 //! serializers/deserializers will autodetect if a "human friendly" textual
/external/cronet/components/cronet/tools/
Dgenerate_javadoc.pydeps17 ../../../third_party/markdown/serializers.py

123