JSON.ARRLEN
Since 1.1.0JSON
Syntax
JSON.ARRLEN key [path]Returns the length of each array path matches.
Examples
> JSON.SET d $ '{"tags":["math","code"]}'
OK
> JSON.ARRLEN d $.tags
1) (integer) 2
Since 1.1.0JSON
JSON.ARRLEN key [path]Returns the length of each array path matches.
> JSON.SET d $ '{"tags":["math","code"]}'
OK
> JSON.ARRLEN d $.tags
1) (integer) 2