myType = redis.json.type("key", "$.path.to.value")

Arguments

key
str
required

The key of the json entry.

path
str
default:
"$"

The path of the value.

Response

The type of the value at path or null if the value does not exist.

myType = redis.json.type("key", "$.path.to.value")