JSON.ARRLEN

    Report the length of the JSON array at in key

    Required arguments

    key

    path

    is JSONPath to specify. Default is root , if not provided. Returns null if the key or path do not exist.

    Return

    JSON.ARRLEN returns an of integer replies, an integer for each matching value, each is the array’s length, or , if the matching value is not an array. For more information about replies, see Redis serialization protocol specification.

    Create a document for wireless earbuds.

    Find lengths of arrays in all objects of the document.

    Return the length of the max_level array.

    See also

    JSON.ARRINDEX | JSON.ARRINSERT