Looks like SerializerProvider instance does not keep track of underlying JsonGenerator, unlike DeserializationContext (which does hold on to reference to JsonParser).
But it should, if for nothing else to allow constructing exceptions that can refer to the underlying generator.
Looks like
SerializerProviderinstance does not keep track of underlyingJsonGenerator, unlikeDeserializationContext(which does hold on to reference toJsonParser).But it should, if for nothing else to allow constructing exceptions that can refer to the underlying generator.