Qiaolin-Yu commented on code in PR #1859:
URL: https://github.com/apache/kvrocks/pull/1859#discussion_r1375503356


##########
src/types/json.h:
##########
@@ -215,6 +215,30 @@ struct JsonValue {
     return Status::OK();
   }
 
+  StatusOr<size_t> Del(const std::string &path) {
+    const std::string parent_path = path + "^";
+    const std::string child_path = path.substr(path.find_last_of('.') + 1);

Review Comment:
   According to 
https://github.com/danielaparker/jsoncons/issues/467#issuecomment-1784123066, 
it seems that `jsoncons` has not such feature. 😭



##########
src/types/json.h:
##########
@@ -215,6 +215,30 @@ struct JsonValue {
     return Status::OK();
   }
 
+  StatusOr<size_t> Del(const std::string &path) {
+    const std::string parent_path = path + "^";
+    const std::string child_path = path.substr(path.find_last_of('.') + 1);

Review Comment:
   According to 
https://github.com/danielaparker/jsoncons/issues/467#issuecomment-1784123066, 
it seems that `jsoncons` has not such feature. 😭



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to