Json

JSON.STRLEN

Report the length of the JSON String at path in key

Arguments

keybodystrrequired

The key of the json entry.

pathbodystrrequired

The path of the string. $ is the root.

Response

List[int]required

The length of the string at the path.

Example
redis.json.strlen("key", "$.path.to.str")
Loading search…