Available in: Redis Stack
Time complexity: O(N) when path is evaluated to a single value, where N is the size of the value, O(N) when path is evaluated to multiple values, where N is the size of the key
Returns the JSON in key
in [Redis Serialization Protocol (RESP)][5] form.
path
defaults to root if not provided. This command uses the following mapping from JSON to RESP:
false
and true
values map to Simple string reply[
followed by the array's elementsArray reply - the JSON's RESP form as detailed.