mirror of
https://github.com/nlohmann/json
synced 2024-11-27 22:30:09 +00:00
+ better string handling
This commit is contained in:
parent
85abe926cf
commit
af4aca9edd
@ -1840,7 +1840,7 @@ void JSON::Parser::parse(JSON& result)
|
||||
expect(':');
|
||||
|
||||
// value
|
||||
parse(result[key]);
|
||||
parse(result[std::move(key)]);
|
||||
}
|
||||
while (_current == ',' && next());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user