mirror of
https://github.com/nlohmann/json.git
synced 2026-03-17 22:46:00 +00:00
🔨 working on #367
Test cases succeed as expected, but the example in #367 is not fully realized yet.
This commit is contained in:
@@ -7618,7 +7618,7 @@ class basic_json
|
||||
JSON_DEPRECATED
|
||||
friend std::istream& operator<<(basic_json& j, std::istream& i)
|
||||
{
|
||||
j = parser(input_adapter::create(i)).parse(true);
|
||||
j = parser(input_adapter::create(i)).parse(false);
|
||||
return i;
|
||||
}
|
||||
|
||||
@@ -7650,7 +7650,7 @@ class basic_json
|
||||
*/
|
||||
friend std::istream& operator>>(std::istream& i, basic_json& j)
|
||||
{
|
||||
j = parser(input_adapter::create(i)).parse(true);
|
||||
j = parser(input_adapter::create(i)).parse(false);
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user