--- Title: JSON commands alwaysopen: false categories: - docs - operate - stack description: Lists JSON commands and provides links to the command reference pages. linkTitle: Commands toc: 'false' weight: 25 --- The following table lists JSON commands. See the command links for more information about each command's syntax, arguments, and examples. | Command | Redis
Software | Redis
Cloud | Description | |:--------|:----------------------|:-----------------|:------| | [JSON.ARRAPPEND]({{< relref "commands/json.arrappend" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Appends an element to a JSON array. | | [JSON.ARRINDEX]({{< relref "commands/json.arrindex" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns the index of a value's first occurrence in a JSON array. | | [JSON.ARRINSERT]({{< relref "commands/json.arrinsert" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Inserts JSON values into a JSON array before the given index. | | [JSON.ARRLEN]({{< relref "commands/json.arrlen" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns the length of a JSON array. | | [JSON.ARRPOP]({{< relref "commands/json.arrpop" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Removes and returns an element located at the index in the JSON array. | | [JSON.ARRTRIM]({{< relref "commands/json.arrtrim" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Trims a JSON array so that it contains only the specified inclusive range of elements. | | [JSON.CLEAR]({{< relref "commands/json.clear" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Clears container values (arrays/objects) and sets numeric values to 0. | | [JSON.DEBUG]({{< relref "commands/json.debug" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Debugging container command. | | [JSON.DEBUG HELP]({{< relref "commands/json.debug-help" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns helpful information about the [JSON.DEBUG]({{< relref "commands/json.debug" >}}) command. | | [JSON.DEBUG MEMORY]({{< relref "commands/json.debug-memory/" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Reports a JSON element's memory usage in bytes. | | [JSON.DEL]({{< relref "commands/json.del" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Removes a JSON element. | | [JSON.FORGET]({{< relref "commands/json.forget" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Removes a JSON element, the same as [JSON.DEL]({{< relref "commands/json.del" >}}). | | [JSON.GET]({{< relref "commands/json.get" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns the value of an element in JSON-serialized form. | | [JSON.MGET]({{< relref "commands/json.mget" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns the values of multiple elements. | | [JSON.NUMINCRBY]({{< relref "commands/json.numincrby" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Increments the number stored at path by the specified number. | | [JSON.NUMMULTBY]({{< relref "commands/json.nummultby" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Multiplies the number stored at path by the specified number. (deprecated as of RedisJSON v2.0) | | [JSON.OBJKEYS]({{< relref "commands/json.objkeys" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns the keys contained in the specified JSON object. | | [JSON.OBJLEN]({{< relref "commands/json.objlen" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns the number of keys in the specified JSON object. | | [JSON.RESP]({{< relref "commands/json.resp" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns a JSON element in [Redis Serialization Protocol (RESP)]({{< relref "/develop/reference/protocol-spec" >}}) format. | | [JSON.SET]({{< relref "commands/json.set" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Sets the value of a JSON element. | | [JSON.STRAPPEND]({{< relref "commands/json.strappend" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Appends the given string to the specified key's existing strings. | | [JSON.STRLEN]({{< relref "commands/json.strlen" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns the length of a string. | | [JSON.TOGGLE]({{< relref "commands/json.toggle" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | If the boolean is `true`, changes it to `false`. If the boolean is `false`, changes it to `true`. | | [JSON.TYPE]({{< relref "commands/json.type" >}}) | ✅ Supported

| ✅ Flexible & Annual
✅ Free & Fixed | Returns a JSON element's type. |