1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

♻️ refactored binary readers to use a SAX parser

This commit is contained in:
Niels Lohmann
2018-03-11 18:47:38 +01:00
parent 149d2fd09c
commit ad47b0fbde
5 changed files with 592 additions and 493 deletions

View File

@ -149,7 +149,7 @@ json parser_helper(const std::string& s)
CHECK(j_nothrow == j);
json j_sax;
nlohmann::json_sax_dom_parser<json> sdp(j_sax);
nlohmann::detail::json_sax_dom_parser<json> sdp(j_sax);
json::sax_parse(s, &sdp);
CHECK(j_sax == j);