I see an issue #801
I think should implement an parser function, for example:
char* data = ....; //read from network or other data source;
size_t data_len = ....; //known when read data.
json j = parse_json(data, data_len);
call parse_json() is zero-copy, no need to convert to std::string.
I see an issue #801
I think should implement an parser function, for example:
char* data = ....; //read from network or other data source;size_t data_len = ....; //known when read data.json j = parse_json(data, data_len);call parse_json() is zero-copy, no need to convert to std::string.