reject empty reference token as array index in json_pointer

This commit is contained in:
Javid Khan
2026-07-20 14:44:51 +05:30
parent 1e39345938
commit 70f3169bae
3 changed files with 15 additions and 0 deletions
+1
View File
@@ -36,4 +36,5 @@ PASSED - SET - failed with NULL params for input json & path
PASSED - SET - failed 'cod' with path 'foo/bar'
PASSED - SET - failed 'cod' with path 'foo/bar'
PASSED - SET - failed with invalid array index'
PASSED - SET - failed with empty array index'
PASSED - SET - failed to set index to non-array