s can implement to get a callback that can be used to create contextual instances of serializer to use for handling properties of supported type. This can be useful for serializers that can be configured by annotations, or should otherwise have differing behavior depending on what kind of property is being serialized.
Note that in cases where serializer needs both contextualization and
resolution -- that is, implements both this interface and
-- resolution via
occurs first, and contextual
resolution (via this interface) later on.
provSerializer provider to use for accessing config, other serializers
propertyMethod or field that represents the property (and is used to access value to serialize). Should be available; but there may be cases where caller can not provide it and null is passed instead (in which case impls usually pass 'this' serializer as is)