Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source/core/StarJsonPatch.hpp
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2024-03-09 09:54:23 +1100
committerGitHub <noreply@github.com>2024-03-09 09:54:23 +1100
commita6a1cc7f42d8ee55531ad87be70eafd46737166b (patch)
tree08d5ab229e1d66d262d01073eb2bf7a5dbb3f7c3 /source/core/StarJsonPatch.hpp
parent4c2e75b585ef366c6744b5e4e303c0fddff1fefd (diff)
parentc5e568e47c95ac8210a72effb2e3a24ebd90af1b (diff)
Merge pull request #29 from WasabiRaptor/json-patching
improvement to iterating through patch arrays
Diffstat (limited to 'source/core/StarJsonPatch.hpp')
-rw-r--r--source/core/StarJsonPatch.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarJsonPatch.hpp b/source/core/StarJsonPatch.hpp
index 44bf482..9832543 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