Skip to content

Commit aa08875

Browse files
Changed from null to nil
Signed-off-by: Nikhil Manglore <[email protected]>
1 parent 696570e commit aa08875

File tree

1 file changed

+33
-33
lines changed

1 file changed

+33
-33
lines changed

resp2_replies.json

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -658,10 +658,10 @@
658658
"JSON.ARRAPPEND": [
659659
"* If the path is enhanced syntax:",
660660
" * [Array reply](../topics/protocol.md#arrays): Array of integers representing the new length of the array at each path.",
661-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not an array.",
661+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not an array.",
662662
"* If the path is restricted syntax:",
663663
" * [Integer reply](../topics/protocol.md#integers): The array's new length.",
664-
" * [Integer reply](../topics/protocol.md#integers): If multiple array values are selected, the command returns the new length of the last updated array",
664+
" * [Integer reply](../topics/protocol.md#integers): If multiple array values are selected, the command returns the new length of the last updated array.",
665665
"* [Simple error reply](../topics/protocol.md#simple-errors):",
666666
" * if the path does not exist.",
667667
" * if the value at the path is not an array (only for restricted syntax).",
@@ -670,7 +670,7 @@
670670
"JSON.ARRINDEX": [
671671
"* If the path is enhanced syntax:",
672672
" * [Array reply](../topics/protocol.md#arrays): Array of integers. Each value is the index of the matching element in the array at the path. The value is -1 if not found.",
673-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not an array.",
673+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not an array.",
674674
"* If the path is restricted syntax:",
675675
" * [Integer reply](../topics/protocol.md#integers): The index of matching element, or -1 if not found.",
676676
"* [Simple error reply](../topics/protocol.md#simple-errors):",
@@ -681,7 +681,7 @@
681681
"JSON.ARRINSERT": [
682682
"* If the path is enhanced syntax:",
683683
" * [Array reply](../topics/protocol.md#arrays): Array of integers representing the new length of the array at each path.",
684-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is an empty array or not an array.",
684+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is an empty array or not an array.",
685685
"* If the path is restricted syntax:",
686686
" * [Integer reply](../topics/protocol.md#integers): The new length of the array.",
687687
"* [Simple error reply](../topics/protocol.md#simple-errors):",
@@ -693,12 +693,12 @@
693693
"JSON.ARRLEN": [
694694
"* If the path is enhanced syntax:",
695695
" * [Array reply](../topics/protocol.md#arrays): Array of integers representing the array length at each path.",
696-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not an array.",
697-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
696+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not an array.",
697+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
698698
"* If the path is restricted syntax:",
699699
" * [Integer reply](../topics/protocol.md#integers): The array length.",
700700
" * [Integer reply](../topics/protocol.md#integers): If multiple objects are selected, returns the first array's length.",
701-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
701+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
702702
"* [Simple error reply](../topics/protocol.md#simple-errors):",
703703
" * if the path does not exist.",
704704
" * if the value at the path is not an array (only for restricted syntax).",
@@ -707,21 +707,21 @@
707707
"JSON.ARRPOP": [
708708
"* If the path is enhanced syntax:",
709709
" * [Array reply](../topics/protocol.md#arrays): Array of bulk strings representing popped values at each path.",
710-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is an empty array or not an array.",
710+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is an empty array or not an array.",
711711
"* If the path is restricted syntax:",
712712
" * [Bulk string reply](../topics/protocol.md#bulk-strings): The popped JSON value.",
713-
" * [Null reply](../topics/protocol.md#nulls): If the array is empty.",
713+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the array is empty.",
714714
"* [Simple error reply](../topics/protocol.md#simple-errors):",
715715
" * if the value at the path is not an array (only for restricted syntax).",
716716
""
717717
],
718718
"JSON.ARRTRIM": [
719719
"* If the path is enhanced syntax:",
720720
" * [Array reply](../topics/protocol.md#arrays): Array of integers representing the new length of the array at each path.",
721-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is an empty array or not an array.",
721+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is an empty array or not an array.",
722722
"* If the path is restricted syntax:",
723723
" * [Integer reply](../topics/protocol.md#integers): The new length of the array.",
724-
" * [Null reply](../topics/protocol.md#nulls): If the array is empty.",
724+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the array is empty.",
725725
"* [Simple error reply](../topics/protocol.md#simple-errors):",
726726
" * if the value at the path is not an array (only for restricted syntax).",
727727
" * if an index argument is out of bounds.",
@@ -743,17 +743,17 @@
743743
" * [Array reply](../topics/protocol.md#arrays): Empty array if the Valkey key does not exist.",
744744
" * If the path is restricted syntax:",
745745
" * [Integer reply](../topics/protocol.md#integers): Memory size of the JSON value in bytes.",
746-
" * [Null reply](../topics/protocol.md#nulls): If the Valkey key does not exist.",
746+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the Valkey key does not exist.",
747747
"* For DEPTH:",
748748
" * [Integer reply](../topics/protocol.md#integers): The maximum path depth of the JSON document.",
749-
" * [Null reply](../topics/protocol.md#nulls): If the Valkey key does not exist.",
749+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the Valkey key does not exist.",
750750
"* For FIELDS:",
751751
" * If the path is enhanced syntax:",
752752
" * [Array reply](../topics/protocol.md#arrays): Array of integers representing number of fields of JSON value at each path.",
753753
" * [Array reply](../topics/protocol.md#arrays): Empty array if the Valkey key does not exist.",
754754
" * If the path is restricted syntax:",
755755
" * [Integer reply](../topics/protocol.md#integers): Number of fields of the JSON value.",
756-
" * [Null reply](../topics/protocol.md#nulls): If the Valkey key does not exist.",
756+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the Valkey key does not exist.",
757757
"* For HELP:",
758758
" * [Array reply](../topics/protocol.md#arrays): Array of help messages.",
759759
""
@@ -789,7 +789,7 @@
789789
"* [Array reply](../topics/protocol.md#arrays): Array of Bulk Strings with size equal to the number of keys in the command.",
790790
" * Each element is either:",
791791
" * [Bulk string reply](../topics/protocol.md#bulk-strings): Serialized JSON as located by the path.",
792-
" * [Null reply](../topics/protocol.md#nulls): If the key does not exist, the path does not exist in the document, or the path is invalid.",
792+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the key does not exist, the path does not exist in the document, or the path is invalid.",
793793
"* [Simple error reply](../topics/protocol.md#simple-errors): WRONGTYPE error if any specified key exists but is not a JSON key.",
794794
""
795795
],
@@ -801,7 +801,7 @@
801801
"JSON.NUMINCRBY": [
802802
"* If the path is enhanced syntax:",
803803
" * [Array reply](../topics/protocol.md#arrays): Array of bulk strings representing the resulting value at each path.",
804-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not a number.",
804+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not a number.",
805805
"* If the path is restricted syntax:",
806806
" * [Bulk string reply](../topics/protocol.md#bulk-strings): The resulting value.",
807807
" * [Bulk string reply](../topics/protocol.md#bulk-strings): If multiple values are selected, returns the result of the last updated value.",
@@ -815,7 +815,7 @@
815815
"JSON.NUMMULTBY": [
816816
"* If the path is enhanced syntax:",
817817
" * [Array reply](../topics/protocol.md#arrays): Array of bulk strings representing the resulting value at each path.",
818-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not a number.",
818+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not a number.",
819819
"* If the path is restricted syntax:",
820820
" * [Bulk string reply](../topics/protocol.md#bulk-strings): The resulting value.",
821821
" * [Bulk string reply](../topics/protocol.md#bulk-strings): If multiple values are selected, returns the result of the last updated value.",
@@ -830,11 +830,11 @@
830830
"* If the path is enhanced syntax:",
831831
" * [Array reply](../topics/protocol.md#arrays): Array of arrays, each containing bulk strings representing keys in a matching object.",
832832
" * [Array reply](../topics/protocol.md#arrays): Empty array for each path where the value is not an object.",
833-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
833+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
834834
"* If the path is restricted syntax:",
835835
" * [Array reply](../topics/protocol.md#arrays): Array of bulk strings, each representing a key name in the object.",
836836
" * [Array reply](../topics/protocol.md#arrays): If multiple objects are selected, returns the keys of the first object.",
837-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
837+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
838838
"* [Simple error reply](../topics/protocol.md#simple-errors):",
839839
" * if the value at the path is not an object (only for restricted syntax).",
840840
" * if the path does not exist (only for restricted syntax).",
@@ -843,12 +843,12 @@
843843
"JSON.OBJLEN": [
844844
"* If the path is enhanced syntax:",
845845
" * [Array reply](../topics/protocol.md#arrays): Array of integers representing the object length at each path.",
846-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not an object.",
847-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
846+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not an object.",
847+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
848848
"* If the path is restricted syntax:",
849849
" * [Integer reply](../topics/protocol.md#integers): Number of keys in the object.",
850850
" * [Integer reply](../topics/protocol.md#integers): If multiple objects are selected, returns the first object's length.",
851-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
851+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
852852
"* [Simple error reply](../topics/protocol.md#simple-errors):",
853853
" * if the value at the path is not an object (only for restricted syntax).",
854854
" * if the path does not exist (only for restricted syntax).",
@@ -860,18 +860,18 @@
860860
" * [Array reply](../topics/protocol.md#arrays): Empty array if the document key does not exist.",
861861
"* If the path is restricted syntax:",
862862
" * [Array reply](../topics/protocol.md#arrays): Representing the RESP form of the value at the path.",
863-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
863+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
864864
""
865865
],
866866
"JSON.SET": [
867867
"* [Simple string reply](../topics/protocol.md#simple-strings): 'OK' on success.",
868-
"* [Null reply](../topics/protocol.md#nulls): If the NX or XX condition is not met.",
868+
"* [Nil reply](../topics/protocol.md#bulk-strings): If the NX or XX condition is not met.",
869869
""
870870
],
871871
"JSON.STRAPPEND": [
872872
"* If the path is enhanced syntax:",
873873
" * [Array reply](../topics/protocol.md#arrays): Array of integers representing the new length of the string at each path.",
874-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not a string.",
874+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not a string.",
875875
"* If the path is restricted syntax:",
876876
" * [Integer reply](../topics/protocol.md#integers): The string's new length.",
877877
" * [Integer reply](../topics/protocol.md#integers): If multiple string values are selected, returns the new length of the last updated string.",
@@ -884,12 +884,12 @@
884884
"JSON.STRLEN": [
885885
"* If the path is enhanced syntax:",
886886
" * [Array reply](../topics/protocol.md#arrays): Array of integers representing the length of string value at each path.",
887-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not a string.",
888-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
887+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not a string.",
888+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
889889
"* If the path is restricted syntax:",
890890
" * [Integer reply](../topics/protocol.md#integers): The string's length.",
891891
" * [Integer reply](../topics/protocol.md#integers): If multiple string values are selected, returns the first string's length.",
892-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
892+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
893893
"* [Simple error reply](../topics/protocol.md#simple-errors):",
894894
" * if the value at the path is not a string (only for restricted syntax).",
895895
" * if the path does not exist (only for restricted syntax).",
@@ -898,7 +898,7 @@
898898
"JSON.TOGGLE": [
899899
"* If the path is enhanced syntax:",
900900
" * [Array reply](../topics/protocol.md#arrays): Array of integers (0 for false, 1 for true) representing the resulting boolean value at each path.",
901-
" * [Null reply](../topics/protocol.md#nulls): For each path where the value is not a boolean.",
901+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path where the value is not a boolean.",
902902
"* If the path is restricted syntax:",
903903
" * [Bulk string reply](../topics/protocol.md#bulk-strings): 'true' or 'false' representing the resulting boolean value.",
904904
"* [Simple error reply](../topics/protocol.md#simple-errors):",
@@ -908,13 +908,13 @@
908908
],
909909
"JSON.TYPE": [
910910
"* If the path is enhanced syntax:",
911-
" * [Array reply](../topics/protocol.md#arrays): Array of strings representing type of the value at each path (one of: 'null', 'boolean', 'string', 'number', 'integer', 'object', 'array').",
912-
" * [Null reply](../topics/protocol.md#nulls): For each path that does not exist.",
911+
" * [Array reply](../topics/protocol.md#arrays): Array of strings representing type of the value at each path (one of: 'nil', 'boolean', 'string', 'number', 'integer', 'object', 'array').",
912+
" * [Nil reply](../topics/protocol.md#bulk-strings): For each path that does not exist.",
913913
" * [Array reply](../topics/protocol.md#arrays): Empty array if the document key does not exist.",
914914
"* If the path is restricted syntax:",
915915
" * [Bulk string reply](../topics/protocol.md#bulk-strings): Type of the value.",
916-
" * [Null reply](../topics/protocol.md#nulls): If the document key does not exist.",
917-
" * [Null reply](../topics/protocol.md#nulls): If the JSON path is invalid or does not exist.",
916+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the document key does not exist.",
917+
" * [Nil reply](../topics/protocol.md#bulk-strings): If the JSON path is invalid or does not exist.",
918918
""
919919
],
920920
"KEYS": [

0 commit comments

Comments
 (0)