jsonxx
jsonxx copied to clipboard
std::string_view for parsing?
I think it might be worth using std::string_view as a view into one large std::string that contains the whole document when parsing. This way there will only be 1 memory allocation.
Only trouble is that string_view is still experimental so would probably have to wait for it to appear in the next standard.