public abstract class StaticListSerializerBase<T extends Collection<?>> extends SerializerBase<T>
JsonSerializer.None| 限定符和类型 | 字段和说明 |
|---|---|
protected BeanProperty |
_property
Property that contains String List to serialize, if known.
|
_handledType| 限定符 | 构造器和说明 |
|---|---|
protected |
StaticListSerializerBase(Class<?> cls,
BeanProperty property) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract JsonNode |
contentSchema() |
JsonNode |
getSchema(SerializerProvider provider,
Type typeHint)
Note: since Jackson 1.9, default implementation claims type is "string"
|
createObjectNode, createSchemaNode, createSchemaNode, handledType, isDefaultSerializer, serialize, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrowisUnwrappingSerializer, serializeWithType, unwrappingSerializerprotected final BeanProperty _property
protected StaticListSerializerBase(Class<?> cls, BeanProperty property)
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
SerializerBasegetSchema 在接口中 SchemaAwaregetSchema 在类中 SerializerBase<T extends Collection<?>>provider - The serializer provider.typeHint - A hint about the type.protected abstract JsonNode contentSchema()