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

summaryrefslogtreecommitdiff
path: root/source/core/StarJsonPatch.hpp
diff options
context:
space:
mode:
authorJamesTheMaker <jamesthemaker2005@gmail.com>2024-03-07 17:28:34 -0500
committerJamesTheMaker <jamesthemaker2005@gmail.com>2024-03-07 17:28:34 -0500
commit15a12c06a66adca4c953be8af6fc434cb6d2b156 (patch)
tree9d798a13e9689eb21a5b0b9becfc8c0d09efc743 /source/core/StarJsonPatch.hpp
parent9b4ca69e0e75e08c4b0587dad931654c9ac9ee2e (diff)
Added the `search` operand to the `move` and `copy` operations, and added the new `merge` operation
Diffstat (limited to 'source/core/StarJsonPatch.hpp')
-rw-r--r--source/core/StarJsonPatch.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/core/StarJsonPatch.hpp b/source/core/StarJsonPatch.hpp
index bd331c4..44bf482 100644
--- a/source/core/StarJsonPatch.hpp
+++ b/source/core/StarJsonPatch.hpp
@@ -33,6 +33,9 @@ namespace JsonPatching {
// Copies "from" to "path"
Json applyCopyOperation(Json const& base, Json const& op);
-}
+
+ // Merges "value" at "path"
+ Json applyMergeOperation(Json const& base, Json const& op);
+ }
}