public abstract class StaticListSerializerBase<T extends Collection<?>> extends SerializerBase<T>
JsonSerializer.None
Modifier and Type | Field and Description |
---|---|
protected BeanProperty |
_property
Property that contains String List to serialize, if known.
|
_handledType
Modifier | Constructor and Description |
---|---|
protected |
StaticListSerializerBase(Class<?> cls,
BeanProperty property) |
Modifier and Type | Method and Description |
---|---|
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, wrapAndThrow
isUnwrappingSerializer, serializeWithType, unwrappingSerializer
protected final BeanProperty _property
protected StaticListSerializerBase(Class<?> cls, BeanProperty property)
public JsonNode getSchema(SerializerProvider provider, Type typeHint)
SerializerBase
getSchema
in interface SchemaAware
getSchema
in class SerializerBase<T extends Collection<?>>
provider
- The serializer provider.typeHint
- A hint about the type.protected abstract JsonNode contentSchema()