TokenBuffer
does not implement writeString(Reader reader, int len)
#3816
Milestone
TokenBuffer
does not implement writeString(Reader reader, int len)
#3816
Describe the bug
Calling the
writeString
method onJsonGenerator
that accepts aReader
throws when the underlying implementation isTokenBuffer
. This happens for instance one when callsconvertValue
, but makes it awkward for the Serializer to be agnostic to whether it's being called for conversion or serialization.Version information
Which Jackson version(s) was this for?
2.14.x
To Reproduce
Here's a contrived example:
The text was updated successfully, but these errors were encountered: