mirror of
https://github.com/nlohmann/json.git
synced 2026-03-25 02:12:45 +00:00
🐛 fix bug in diff function #1983
This commit is contained in:
@@ -22741,7 +22741,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