json icon indicating copy to clipboard operation
json copied to clipboard

iostream parsing

Open grisumbras opened this issue 2 years ago • 6 comments

Fix #619

grisumbras avatar Oct 10 '21 09:10 grisumbras

You didn't give my man a chance to do it?

vinniefalco avatar Oct 10 '21 18:10 vinniefalco

I don't get it, why does this need its own streambuf?

pdimov avatar Oct 12 '21 14:10 pdimov

I don't get it, why does this need its own streambuf?

It doesn't. Vinnie previously directed me at using an output streambuf and I've made one. Then using a streambuf became the simplest way to implement parsing from an istream. Now, the question is whether there is a use case for such a streambuf by itself.

grisumbras avatar Oct 13 '21 13:10 grisumbras

Now, the question is whether there is a use case for such a streambuf by itself.

I would make it private. If a user requests the feature then we can think about making it public.

vinniefalco avatar Oct 13 '21 13:10 vinniefalco