Merge pull request #2054 from nlohmann/feature/issue1983
Fix bug in diff function
This commit is contained in:
commit
a29e3b1318
3 changed files with 10 additions and 2 deletions
|
@ -23833,7 +23833,7 @@ class basic_json
|
|||
result.push_back(
|
||||
{
|
||||
{"op", "add"},
|
||||
{"path", path + "/" + std::to_string(i)},
|
||||
{"path", path + "/-"},
|
||||
{"value", target[i]}
|
||||
});
|
||||
++i;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue