Home
last modified time | relevance | path

Searched refs:typeHint (Results 1 – 25 of 39) sorted by relevance

12

/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/std/
DStdSerializer.java114 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
117 visitor.expectAnyFormat(typeHint); in acceptJsonFormatVisitor()
125 … public JsonNode getSchema(SerializerProvider provider, Type typeHint) throws JsonMappingException in getSchema() argument
135 public JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional) in getSchema() argument
138 ObjectNode schema = (ObjectNode) getSchema(provider, typeHint); in getSchema()
173 protected void visitStringFormat(JsonFormatVisitorWrapper visitor, JavaType typeHint) in visitStringFormat() argument
175 /*JsonStringFormatVisitor v2 =*/ visitor.expectStringFormat(typeHint); in visitStringFormat()
185 protected void visitStringFormat(JsonFormatVisitorWrapper visitor, JavaType typeHint, in visitStringFormat() argument
189 JsonStringFormatVisitor v2 = visitor.expectStringFormat(typeHint); in visitStringFormat()
201 protected void visitIntFormat(JsonFormatVisitorWrapper visitor, JavaType typeHint, in visitIntFormat() argument
[all …]
DStdJdkSerializers.java84 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
89 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
90 visitor.expectBooleanFormat(typeHint); in acceptJsonFormatVisitor()
105 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
110 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
112 visitIntFormat(visitor, typeHint, JsonParser.NumberType.INT); in acceptJsonFormatVisitor()
127 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
132 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
135 visitIntFormat(visitor, typeHint, JsonParser.NumberType.LONG); in acceptJsonFormatVisitor()
DStdArraySerializers.java159 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
167 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
170 visitArrayFormat(visitor, typeHint, JsonFormatTypes.BOOLEAN); in acceptJsonFormatVisitor()
237 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
245 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
248 visitArrayFormat(visitor, typeHint, JsonFormatTypes.INTEGER); in acceptJsonFormatVisitor()
312 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
321 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
324 visitArrayFormat(visitor, typeHint, JsonFormatTypes.STRING); in acceptJsonFormatVisitor()
402 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
[all …]
DStdDelegatingSerializer.java206 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
210 return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint); in getSchema()
212 return super.getSchema(provider, typeHint); in getSchema()
216 public JsonNode getSchema(SerializerProvider provider, Type typeHint, in getSchema() argument
220 return ((SchemaAware) _delegateSerializer).getSchema(provider, typeHint, isOptional); in getSchema()
222 return super.getSchema(provider, typeHint); in getSchema()
226 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
234 _delegateSerializer.acceptJsonFormatVisitor(visitor, typeHint); in acceptJsonFormatVisitor()
DEnumSerializer.java141 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
147 if (typeHint != null) { in getSchema()
148 JavaType type = provider.constructType(typeHint); in getSchema()
160 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
165 visitIntFormat(visitor, typeHint, JsonParser.NumberType.INT); in acceptJsonFormatVisitor()
168 JsonStringFormatVisitor stringVisitor = visitor.expectStringFormat(typeHint); in acceptJsonFormatVisitor()
DBooleanSerializer.java74 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
79 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
80 visitor.expectBooleanFormat(typeHint); in acceptJsonFormatVisitor()
123 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
126 visitIntFormat(visitor, typeHint, NumberType.INT); in acceptJsonFormatVisitor()
DDateTimeSerializerBase.java152 public JsonNode getSchema(SerializerProvider serializers, Type typeHint) { in getSchema() argument
158 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
160 _acceptJsonFormatVisitor(visitor, typeHint, _asTimestamp(visitor.getProvider())); in acceptJsonFormatVisitor()
194 protected void _acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint, in _acceptJsonFormatVisitor() argument
198 visitIntFormat(visitor, typeHint, in _acceptJsonFormatVisitor()
201 visitStringFormat(visitor, typeHint, JsonValueFormat.DATE_TIME); in _acceptJsonFormatVisitor()
DNumberSerializer.java95 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
100 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
103 visitIntFormat(visitor, typeHint, JsonParser.NumberType.BIG_INTEGER); in acceptJsonFormatVisitor()
106 visitFloatFormat(visitor, typeHint, JsonParser.NumberType.BIG_DECIMAL); in acceptJsonFormatVisitor()
109 /*JsonNumberFormatVisitor v2 =*/ visitor.expectNumberFormat(typeHint); in acceptJsonFormatVisitor()
DClassSerializer.java31 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
37 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
40 visitStringFormat(visitor, typeHint); in acceptJsonFormatVisitor()
DFileSerializer.java30 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
35 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
38 visitStringFormat(visitor, typeHint); in acceptJsonFormatVisitor()
DSqlTimeSerializer.java26 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
31 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
34 visitStringFormat(visitor, typeHint, JsonValueFormat.DATE_TIME); in acceptJsonFormatVisitor()
DNullSerializer.java48 …public JsonNode getSchema(SerializerProvider provider, Type typeHint) throws JsonMappingException { in getSchema() argument
53 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
54 visitor.expectNullFormat(typeHint); in acceptJsonFormatVisitor()
DRawSerializer.java46 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
53 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
56 visitStringFormat(visitor, typeHint); in acceptJsonFormatVisitor()
DStdScalarSerializer.java62 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
69 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
73 visitStringFormat(visitor, typeHint); in acceptJsonFormatVisitor()
DStringSerializer.java53 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
58 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
59 visitStringFormat(visitor, typeHint); in acceptJsonFormatVisitor()
DTokenBufferSerializer.java60 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
68 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
73 visitor.expectAnyFormat(typeHint); in acceptJsonFormatVisitor()
DToStringSerializerBase.java63 …public JsonNode getSchema(SerializerProvider provider, Type typeHint) throws JsonMappingException { in getSchema() argument
68 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
70 visitStringFormat(visitor, typeHint); in acceptJsonFormatVisitor()
DByteArraySerializer.java73 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
81 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
90 JsonArrayFormatVisitor v2 = visitor.expectArrayFormat(typeHint); in acceptJsonFormatVisitor()
DStaticListSerializerBase.java107 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
112 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
113 JsonArrayFormatVisitor v2 = visitor.expectArrayFormat(typeHint); in acceptJsonFormatVisitor()
DJsonValueSerializer.java228 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
238 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
253 if (_acceptJsonFormatVisitorForEnum(visitor, typeHint, declaring)) { in acceptJsonFormatVisitor()
261 visitor.expectAnyFormat(typeHint); in acceptJsonFormatVisitor()
278 JavaType typeHint, Class<?> enumType) in _acceptJsonFormatVisitorForEnum() argument
282 JsonStringFormatVisitor stringVisitor = visitor.expectStringFormat(typeHint); in _acceptJsonFormatVisitorForEnum()
DByteBufferSerializer.java39 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
43 JsonArrayFormatVisitor v2 = visitor.expectArrayFormat(typeHint); in acceptJsonFormatVisitor()
DNumberSerializers.java78 public JsonNode getSchema(SerializerProvider provider, Type typeHint) { in getSchema() argument
84 JavaType typeHint) throws JsonMappingException in acceptJsonFormatVisitor() argument
87 visitIntFormat(visitor, typeHint, _numberType); in acceptJsonFormatVisitor()
89 visitFloatFormat(visitor, typeHint, _numberType); in acceptJsonFormatVisitor()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ext/
DDOMSerializer.java44 public JsonNode getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint) { in getSchema() argument
50 …public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) throws Js… in acceptJsonFormatVisitor() argument
51 if (visitor != null) visitor.expectAnyFormat(typeHint); in acceptJsonFormatVisitor()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/ser/impl/
DUnknownSerializer.java58 …public JsonNode getSchema(SerializerProvider provider, Type typeHint) throws JsonMappingException { in getSchema() argument
63 public void acceptJsonFormatVisitor(JsonFormatVisitorWrapper visitor, JavaType typeHint) in acceptJsonFormatVisitor() argument
66 visitor.expectAnyFormat(typeHint); in acceptJsonFormatVisitor()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/jsonschema/
DSchemaAware.java21 public JsonNode getSchema(SerializerProvider provider, Type typeHint) in getSchema() argument
32 public JsonNode getSchema(SerializerProvider provider, Type typeHint, boolean isOptional) in getSchema() argument

12