diff options
author | WasabiRaptor <ketchupraptor@gmail.com> | 2024-03-07 18:06:30 -0500 |
---|---|---|
committer | WasabiRaptor <ketchupraptor@gmail.com> | 2024-03-07 18:06:30 -0500 |
commit | f5400e587723e1bbefffd32298581946ea19b09c (patch) | |
tree | 4625c64f0ec6e591f163171e3b07ee58d620af75 /source/core/StarJsonPatch.hpp | |
parent | 89fe1bf15bc458df6c63f1aaeac42a4883efbfd5 (diff) |
improvement to iterating through patch arrays
Diffstat (limited to 'source/core/StarJsonPatch.hpp')
-rw-r--r-- | source/core/StarJsonPatch.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarJsonPatch.hpp b/source/core/StarJsonPatch.hpp index bd331c4..5610cc6 100644 --- a/source/core/StarJsonPatch.hpp +++ b/source/core/StarJsonPatch.hpp @@ -13,7 +13,7 @@ Json jsonPatch(Json const& base, JsonArray const& patch); namespace JsonPatching { // Applies the given single operation - Json applyOperation(Json const& base, Json const& op); + Json applyOperation(Json const& base, Json const& op, Maybe<Json> const& external = {}); // Tests for "value" at "path" // Returns base or throws JsonPatchException |