Json
JSON.TYPE
Report the type of JSON value at `path`.
Arguments
keybodystrrequired
The key of the json entry.
pathbodystrrequired
The path of the value. $ is the root.
Response
List[str | null]required
The type of the value at path or null if the value does not exist.
Example
myType = redis.json.type("key", "$.path.to.value")