Skip to content

Parse Json From CharSequence Type #1336

@Luka-J9

Description

@Luka-J9

I have the use case of needing to parse Json from a CharSequence that is not a String and I don't want to take the allocation hit of calling .toString

It would be nice if there was an equivalent function like:

def readFromCharSequence[A](s: CharSequence, config: ReaderConfig = ReaderConfig)(implicit codec: JsonValueCodec[A]): A 

to allow for this type of reading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions