move binary_{reader,writer} outside of basic_json
This commit is contained in:
parent
bb752fd30c
commit
acff23efb2
2 changed files with 1825 additions and 1780 deletions
3603
src/json.hpp
3603
src/json.hpp
File diff suppressed because it is too large
Load diff
|
@ -53,7 +53,7 @@ TEST_CASE("convenience functions")
|
||||||
const char* escaped)
|
const char* escaped)
|
||||||
{
|
{
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
json::serializer s(json::output_adapter<char>::create(ss), ' ');
|
json::serializer s(nlohmann::detail::output_adapter_factory<char>::create(ss), ' ');
|
||||||
s.dump_escaped(original);
|
s.dump_escaped(original);
|
||||||
CHECK(ss.str() == escaped);
|
CHECK(ss.str() == escaped);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue