public interface ResolvableSerializer
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.Modifier and Type | Method and Description |
---|---|
void |
resolve(SerializerProvider provider)
Method called after
SerializerProvider has registered
the serializer, but before it has returned it to the caller. |
void resolve(SerializerProvider provider) throws JsonMappingException
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).provider
- Provider that has constructed serializer this method
is called on.JsonMappingException