Skip to content

JsonStringEncoder should take CharSequence parameters #265

@mikaelstaldal

Description

@mikaelstaldal

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions