Home
last modified time | relevance | path

Searched refs:WritableTypeId (Results 1 – 25 of 31) sorted by relevance

12

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DWriteTypeIdTest.java10 import com.fasterxml.jackson.core.type.WritableTypeId;
38 WritableTypeId typeId = new WritableTypeId(data, JsonToken.START_OBJECT, "typeId"); in testBasicTypeIdWriteForObject()
39 typeId.include = WritableTypeId.Inclusion.METADATA_PROPERTY; in testBasicTypeIdWriteForObject()
51 typeId = new WritableTypeId(data, JsonToken.START_OBJECT, "typeId"); in testBasicTypeIdWriteForObject()
52 typeId.include = WritableTypeId.Inclusion.WRAPPER_ARRAY; in testBasicTypeIdWriteForObject()
63 typeId = new WritableTypeId(data, JsonToken.START_OBJECT, "typeId"); in testBasicTypeIdWriteForObject()
64 typeId.include = WritableTypeId.Inclusion.WRAPPER_OBJECT; in testBasicTypeIdWriteForObject()
74 typeId = new WritableTypeId(data, JsonToken.START_OBJECT, "typeId"); in testBasicTypeIdWriteForObject()
75 typeId.include = WritableTypeId.Inclusion.PARENT_PROPERTY; in testBasicTypeIdWriteForObject()
96 WritableTypeId typeId = new WritableTypeId(data, JsonToken.START_ARRAY, "typeId"); in testBasicTypeIdWriteForArray()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/
DTypeSerializer.java6 import com.fasterxml.jackson.core.type.WritableTypeId;
79 public WritableTypeId typeId(Object value, JsonToken valueShape) { in typeId()
80 WritableTypeId typeIdDef = new WritableTypeId(value, valueShape); in typeId()
83 typeIdDef.include = WritableTypeId.Inclusion.PAYLOAD_PROPERTY; in typeId()
87 typeIdDef.include = WritableTypeId.Inclusion.PARENT_PROPERTY; in typeId()
91 typeIdDef.include = WritableTypeId.Inclusion.METADATA_PROPERTY; in typeId()
95 typeIdDef.include = WritableTypeId.Inclusion.WRAPPER_ARRAY; in typeId()
98 typeIdDef.include = WritableTypeId.Inclusion.WRAPPER_OBJECT; in typeId()
106 public WritableTypeId typeId(Object value, JsonToken valueShape, in typeId()
108 WritableTypeId typeId = typeId(value, valueShape); in typeId()
[all …]
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/type/
DWritableTypeId.java20 public class WritableTypeId class
156 public WritableTypeId() { } in WritableTypeId() method in WritableTypeId
162 public WritableTypeId(Object value, JsonToken valueShape0) { in WritableTypeId() method in WritableTypeId
171 public WritableTypeId(Object value, Class<?> valueType0, JsonToken valueShape0) { in WritableTypeId() method in WritableTypeId
181 public WritableTypeId(Object value, JsonToken valueShape0, Object id0) in WritableTypeId() method in WritableTypeId
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsontype/impl/
DTypeSerializerBase.java9 import com.fasterxml.jackson.core.type.WritableTypeId;
42 public WritableTypeId writeTypePrefix(JsonGenerator g, in writeTypePrefix()
43 WritableTypeId idMetadata) throws IOException in writeTypePrefix()
50 public WritableTypeId writeTypeSuffix(JsonGenerator g, in writeTypeSuffix()
51 WritableTypeId idMetadata) throws IOException in writeTypeSuffix()
61 protected void _generateTypeId(WritableTypeId idMetadata) { in _generateTypeId()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DTimeZoneSerializer.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
26 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DJsonValueSerializer.java11 import com.fasterxml.jackson.core.type.WritableTypeId;
208 WritableTypeId typeIdDef = typeSer0.writeTypePrefix(gen, in serializeWithType()
377 public WritableTypeId writeTypePrefix(JsonGenerator g, in writeTypePrefix()
378 WritableTypeId typeId) throws IOException { in writeTypePrefix()
385 public WritableTypeId writeTypeSuffix(JsonGenerator g, in writeTypeSuffix()
386 WritableTypeId typeId) throws IOException { in writeTypeSuffix()
DRawSerializer.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
39 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DInetSocketAddressSerializer.java8 import com.fasterxml.jackson.core.type.WritableTypeId;
46 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DStdScalarSerializer.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
55 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DTokenBufferSerializer.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
53 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DToStringSerializerBase.java8 import com.fasterxml.jackson.core.type.WritableTypeId;
56 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DInetAddressSerializer.java8 import com.fasterxml.jackson.core.type.WritableTypeId;
93 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DByteArraySerializer.java8 import com.fasterxml.jackson.core.type.WritableTypeId;
58 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DArraySerializerBase.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
131 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DNumberSerializers.java11 import com.fasterxml.jackson.core.type.WritableTypeId;
241 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DAsArraySerializerBase.java9 import com.fasterxml.jackson.core.type.WritableTypeId;
256 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/
DNioPathSerializer.java9 import com.fasterxml.jackson.core.type.WritableTypeId;
37 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DUnknownSerializer.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
47 WritableTypeId typeIdDef = typeSer.writeTypePrefix(gen, in serializeWithType()
DStringCollectionSerializer.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
89 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DIndexedStringListSerializer.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
86 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
DBeanAsArraySerializer.java8 import com.fasterxml.jackson.core.type.WritableTypeId;
152 WritableTypeId typeIdDef = _typeIdDef(typeSer, bean, JsonToken.START_ARRAY); in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/node/
DValueNode.java7 import com.fasterxml.jackson.core.type.WritableTypeId;
46 WritableTypeId typeIdDef = typeSer.writeTypePrefix(g, in serializeWithType()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/type/
DTypeBase.java9 import com.fasterxml.jackson.core.type.WritableTypeId;
171 WritableTypeId typeIdDef = new WritableTypeId(this, JsonToken.VALUE_STRING); in serializeWithType()
/external/jackson-core/src/main/java/com/fasterxml/jackson/core/
DJsonGenerator.java16 import com.fasterxml.jackson.core.type.WritableTypeId;
17 import com.fasterxml.jackson.core.type.WritableTypeId.Inclusion;
1546 public WritableTypeId writeTypePrefix(WritableTypeId typeIdDef) throws IOException in writeTypePrefix()
1565 typeIdDef.include = incl = WritableTypeId.Inclusion.WRAPPER_ARRAY; in writeTypePrefix()
1608 public WritableTypeId writeTypeSuffix(WritableTypeId typeIdDef) throws IOException in writeTypeSuffix()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/node/
DTestConversions.java13 import com.fasterxml.jackson.core.type.WritableTypeId;
103 WritableTypeId typeIdDef = new WritableTypeId(this, JsonToken.START_OBJECT); in serializeWithType()

12