mirror of
https://github.com/nlohmann/json.git
synced 2026-10-11 00:47:12 +00:00
move binary_{reader,writer} outside of basic_json
This commit is contained in:
2 files changed
+1825
-1780
No files matched your search
+1824
-1779
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);
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user