From efa51b929be4865b8b8a2d8121fa84301fe59872 Mon Sep 17 00:00:00 2001 From: momadvisor <77181890+momadvisor@users.noreply.github.com> Date: Thu, 29 May 2025 19:55:38 +0900 Subject: [PATCH 1/2] Update resp2_replies.json fix a wrong and add a new Signed-off-by: momadvisor <77181890+momadvisor@users.noreply.github.com> --- resp2_replies.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resp2_replies.json b/resp2_replies.json index 37dd782b4..246cceb6b 100644 --- a/resp2_replies.json +++ b/resp2_replies.json @@ -746,8 +746,9 @@ "* [Integer reply](../topics/protocol.md#integers):", " * The number of containers cleared.", " * Returns 0 if clearing an empty array or object.", - " * Returns 0 if clearing a non-container value.", + " * Returns 0 if clearing a non-container value except JSON string.", " * Returns 0 if no array or object value is located by the path.", + " * Returns 1 if clearing a JSON string value regardless of the length of the JSON string value.", "" ], "JSON.DEBUG": [ From cddf4e04a0cf22ff5f12080ba0577822390c907c Mon Sep 17 00:00:00 2001 From: momadvisor <77181890+momadvisor@users.noreply.github.com> Date: Thu, 29 May 2025 19:59:48 +0900 Subject: [PATCH 2/2] Update resp2_replies.json make more concrete Signed-off-by: momadvisor <77181890+momadvisor@users.noreply.github.com> --- resp2_replies.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resp2_replies.json b/resp2_replies.json index 246cceb6b..12e42953f 100644 --- a/resp2_replies.json +++ b/resp2_replies.json @@ -748,7 +748,7 @@ " * Returns 0 if clearing an empty array or object.", " * Returns 0 if clearing a non-container value except JSON string.", " * Returns 0 if no array or object value is located by the path.", - " * Returns 1 if clearing a JSON string value regardless of the length of the JSON string value.", + " * Always Returns 1 if clearing a JSON string value regardless of the length of the JSON string value including empty string.", "" ], "JSON.DEBUG": [