SchemaAware
IndexedStringListSerializer
, StringCollectionSerializer
public abstract class StaticListSerializerBase<T extends java.util.Collection<?>> extends SerializerBase<T>
JsonSerializer.None
Modifier and Type | Field | Description |
---|---|---|
protected BeanProperty |
_property |
Property that contains String List to serialize, if known.
|
_handledType
Modifier | Constructor | Description |
---|---|---|
protected |
StaticListSerializerBase(java.lang.Class<?> cls,
BeanProperty property) |
Modifier and Type | Method | Description |
---|---|---|
protected abstract JsonNode |
contentSchema() |
|
JsonNode |
getSchema(SerializerProvider provider,
java.lang.reflect.Type typeHint) |
Note: since Jackson 1.9, default implementation claims type is "string"
|
isUnwrappingSerializer, serializeWithType, unwrappingSerializer
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createObjectNode, createSchemaNode, createSchemaNode, handledType, isDefaultSerializer, serialize, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrow
protected final BeanProperty _property
protected StaticListSerializerBase(java.lang.Class<?> cls, BeanProperty property)
public JsonNode getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint)
SerializerBase
getSchema
in interface SchemaAware
getSchema
in class SerializerBase<T extends java.util.Collection<?>>
provider
- The serializer provider.typeHint
- A hint about the type.protected abstract JsonNode contentSchema()