It would be useful if the public methods in com.fasterxml.jackson.core.io.JsonStringEncoder
declare its input parameter as CharSequence
rather than String
.
To me, it seems to be trivial to fix since the code only uses methods on the input parameter which are in CharSequence
(length
and charAt
).