Merge pull request #2054 from nlohmann/feature/issue1983
Fix bug in diff function
This commit is contained in:
3 files changed
+10
-2
No files matched your search
@@ -8347,7 +8347,7 @@ class basic_json
|
||||
result.push_back(
|
||||
{
|
||||
{"op", "add"},
|
||||
{"path", path + "/" + std::to_string(i)},
|
||||
{"path", path + "/-"},
|
||||
{"value", target[i]}
|
||||
});
|
||||
++i;
|
||||
|
||||
Reference in new issue
Block a user