Skip to content

Add support for a buffer stream with parseFromString and parseFromChar methods #372

Open
@ianpark

Description

@ianpark

Hi,

I am using boost::interprocess::bufferstream to avoid extra memory copy when you use stringstream in order to parse a char* or string. But it has a dependency on Boost and most of people wouldn't want it.

I think general or simplified bufferstream could be easily implemented and embedded into jsoncpp and then you could provide parseFromString or parseFromChar with no memory copy. What do you think?

Regards,

Ian

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions