Skip to main content

Documentation Index

Fetch the complete documentation index at: https://upstash.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Arguments

key
string
required
The key of the json entry.
path
string
required
The path of the object. $ is the root.

Response

The number of keys in the objects.
const lengths = await redis.json.objlen("key", "$.path");