JSON.STRAPPEND
Since 1.1.0JSON
Syntax
JSON.STRAPPEND key [path] valueAppends a JSON string to each string path matches. value is JSON text, so it is quoted: '" L."'.
Reply
- A JSONPath: the new lengths,
nilwhere a match is not a string. A legacy path: the one new length.
Examples
> JSON.SET d $ '{"name":"Ada"}'
OK
> JSON.STRAPPEND d $.name '" L."'
1) (integer) 6