Commit 7dee868a authored by Niels Lohmann's avatar Niels Lohmann Committed by GitHub

Merge pull request #643 from theodelrieu/refacto/split_basic_json

Refacto/split basic json
parents d3496347 8585d35c
This diff is collapsed.
......@@ -36,7 +36,7 @@ using nlohmann::json;
json::lexer::token_type scan_string(const char* s);
json::lexer::token_type scan_string(const char* s)
{
return json::lexer(json::input_adapter::create(s)).scan();
return json::lexer(nlohmann::detail::input_adapter_factory::create(s)).scan();
}
TEST_CASE("lexer class")
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -53,7 +53,7 @@ TEST_CASE("convenience functions")
const char* escaped)
{
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);
CHECK(ss.str() == escaped);
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment