♻️ refactored binary readers to use a SAX parser
This commit is contained in:
parent
149d2fd09c
commit
ad47b0fbde
5 changed files with 592 additions and 493 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue