Skip to content

RedisJson json commands (23/23 implemented)

JSON.ARRAPPEND

Append the JSON values into the array at path after the last element in it

JSON.ARRINDEX

Search for the first occurrence of a JSON value in an array

JSON.ARRINSERT

Insert the json values into the array at path before the index (shifts to the right)

JSON.ARRLEN

Report the length of the JSON array at path in key

JSON.ARRPOP

Remove and return the element at the specified index in the array at path

JSON.ARRTRIM

Trim an array so that it contains only the specified inclusive range of elements

JSON.CLEAR

Clear container values (arrays/objects) and set numeric values to 0

JSON.DEL

Delete a value

JSON.FORGET

Delete a value

JSON.GET

Get JSON value at path

JSON.MERGE

Merge a given JSON value into matching paths. Consequently, JSON values at matching paths are updated, deleted, or expanded with new children

JSON.MGET

Return the values at path from multiple key arguments

JSON.MSET

Set or update one or more JSON values according to the specified key-path-value triplets

JSON.NUMINCRBY

Increment the number value stored at path by number

JSON.NUMMULTBY

Multiply the number value stored at path by number

JSON.NUMPOWBY

Raise the number value stored at path to the power of number

JSON.OBJKEYS

Return the keys in the object that's referenced by path

JSON.OBJLEN

Report the number of keys in the JSON object at path in key

JSON.SET

Set the JSON value at path in key

JSON.STRAPPEND

Append the json-string values to the string at path

JSON.STRLEN

Report the length of the JSON String at path in key

JSON.TOGGLE

Toggle the boolean value stored at path

JSON.TYPE

Report the type of JSON value at path