org.codehaus.jackson.map.ResolvableSerializer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of barchart-wrap-jackson Show documentation
Show all versions of barchart-wrap-jackson Show documentation
bundle wrapper for json libs:
http://jackson.codehaus.org/
http://www.json.org/java/
https://github.com/FasterXML/jackson-datatype-json-org
The newest version!
package org.codehaus.jackson.map;
/**
* Interface used to indicate serializers that want to do post-processing
* after construction and being added to {@link SerializerProvider},
* but before being used. This is typically used to resolve references
* to other contained types; for example, bean serializers use this
* to eagerly find serializers for contained field types.
*/
public interface ResolvableSerializer
{
/**
* Method called after {@link SerializerProvider} has registered
* the serializer, but before it has returned it to the caller.
* Called object can then resolve its dependencies to other types,
* including self-references (direct or indirect).
*
* @param provider Provider that has constructed serializer this method
* is called on.
*/
public abstract void resolve(SerializerProvider provider)
throws JsonMappingException;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy