vivkin / gason

Lightweight and fast JSON parser for C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make input immutable?

tals opened this issue · comments

Right now the jsonParse() actually mutates the input buffer when handling backslash escaping.

Would be nice if it didn't do that, and it typically counters what the user expects when using a parser.

It is part of the deal that the input buffer is destroyed. I guess this is "won't fix"