♻️ 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
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
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);