🔨 working on #367

Test cases succeed as expected, but the example in #367 is not fully
realized yet.
This commit is contained in:
Niels Lohmann 2017-05-10 12:06:24 +02:00
parent 962da00171
commit 2afbd33472
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69
2 changed files with 54 additions and 4 deletions

View file

@ -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;
}