Class StaticListSerializerBase<T extends java.util.Collection<?>>

    • Field Detail

      • _property

        protected final BeanProperty _property
        Property that contains String List to serialize, if known.
    • Constructor Detail

      • StaticListSerializerBase

        protected StaticListSerializerBase​(java.lang.Class<?> cls,
                                           BeanProperty property)
    • Method Detail

      • getSchema

        public JsonNode getSchema​(SerializerProvider provider,
                                  java.lang.reflect.Type typeHint)
        Description copied from class: SerializerBase
        Note: since Jackson 1.9, default implementation claims type is "string"
        Specified by:
        getSchema in interface SchemaAware
        Overrides:
        getSchema in class SerializerBase<T extends java.util.Collection<?>>
        Parameters:
        provider - The serializer provider.
        typeHint - A hint about the type.
        Returns:
        Json-schema for this serializer.
      • contentSchema

        protected abstract JsonNode contentSchema()