SchemaAwareIndexedStringListSerializer, StringCollectionSerializerpublic 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, unwrappingSerializerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateObjectNode, createSchemaNode, createSchemaNode, handledType, isDefaultSerializer, serialize, wrapAndThrow, wrapAndThrow, wrapAndThrow, wrapAndThrowprotected final BeanProperty _property
protected StaticListSerializerBase(java.lang.Class<?> cls,
BeanProperty property)
public JsonNode getSchema(SerializerProvider provider, java.lang.reflect.Type typeHint)
SerializerBasegetSchema in interface SchemaAwaregetSchema in class SerializerBase<T extends java.util.Collection<?>>provider - The serializer provider.typeHint - A hint about the type.protected abstract JsonNode contentSchema()