{
  "schema_version": 2,
  "id": "operate/oss_and_stack/stack-with-enterprise/json/commands",
  "title": "JSON commands",
  "url": "https://redis.io/docs/latest/operate/oss_and_stack/stack-with-enterprise/json/commands/",
  "summary": "Lists JSON commands and provides links to the command reference pages.",
  "tags": [
    "docs",
    "operate",
    "stack"
  ],
  "last_updated": "2026-09-22T10:15:10+01:00",
  "page_type": "content",
  "content_hash": "0ca3d5f3748ef53cf7fffcd4a0055b18c16c18f8d1324856297f89aa31768c8d",
  "sections": [
    {
      "id": "content",
      "title": "Content",
      "role": "content",
      "text": "The following table lists JSON commands. See the command links for more information about each command's syntax, arguments, and examples.\n\n| Command | Redis<br />Software | Redis<br />Cloud | Description |\n|:--------|:----------------------|:-----------------|:------|\n| [JSON.ARRAPPEND](https://redis.io/docs/latest/commands/json.arrappend) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\"><nobr>&#x2705; Flexible & Annual</nobr></span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Appends an element to a JSON array. |\n| [JSON.ARRINDEX](https://redis.io/docs/latest/commands/json.arrindex) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns the index of a value's first occurrence in a JSON array. |\n| [JSON.ARRINSERT](https://redis.io/docs/latest/commands/json.arrinsert) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Inserts JSON values into a JSON array before the given index. |\n| [JSON.ARRLEN](https://redis.io/docs/latest/commands/json.arrlen) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns the length of a JSON array. |\n| [JSON.ARRPOP](https://redis.io/docs/latest/commands/json.arrpop) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Removes and returns an element located at the index in the JSON array. |\n| [JSON.ARRTRIM](https://redis.io/docs/latest/commands/json.arrtrim) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Trims a JSON array so that it contains only the specified inclusive range of elements. |\n| [JSON.CLEAR](https://redis.io/docs/latest/commands/json.clear) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Clears container values (arrays/objects) and sets numeric values to 0. |\n| [JSON.DEBUG](https://redis.io/docs/latest/commands/json.debug) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Debugging container command. |\n| [JSON.DEBUG HELP](https://redis.io/docs/latest/commands/json.debug-help) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns helpful information about the [JSON.DEBUG](https://redis.io/docs/latest/commands/json.debug) command. |\n| [JSON.DEBUG MEMORY](https://redis.io/docs/latest/commands/json.debug-memory) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Reports a JSON element's memory usage in bytes. |\n| [JSON.DEL](https://redis.io/docs/latest/commands/json.del) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Removes a JSON element. |\n| [JSON.FORGET](https://redis.io/docs/latest/commands/json.forget) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Removes a JSON element, the same as [JSON.DEL](https://redis.io/docs/latest/commands/json.del). |\n| [JSON.GET](https://redis.io/docs/latest/commands/json.get) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns the value of an element in JSON-serialized form. |\n| [JSON.MGET](https://redis.io/docs/latest/commands/json.mget) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns the values of multiple elements. |\n| [JSON.MERGE](https://redis.io/docs/latest/commands/json.merge) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Merge a given JSON value into matching paths. |\n| [JSON.NUMINCRBY](https://redis.io/docs/latest/commands/json.numincrby) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Increments the number stored at path by the specified number. |\n| [JSON.NUMMULTBY](https://redis.io/docs/latest/commands/json.nummultby) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Multiplies the number stored at path by the specified number. (deprecated as of RedisJSON v2.0) |\n| [JSON.OBJKEYS](https://redis.io/docs/latest/commands/json.objkeys) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns the keys contained in the specified JSON object. |\n| [JSON.OBJLEN](https://redis.io/docs/latest/commands/json.objlen) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns the number of keys in the specified JSON object. |\n| [JSON.RESP](https://redis.io/docs/latest/commands/json.resp) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns a JSON element in [Redis Serialization Protocol (RESP)](https://redis.io/docs/latest/develop/reference/protocol-spec) format. |\n| [JSON.SET](https://redis.io/docs/latest/commands/json.set) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Sets the value of a JSON element. |\n| [JSON.STRAPPEND](https://redis.io/docs/latest/commands/json.strappend) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Appends the given string to the specified key's existing strings. |\n| [JSON.STRLEN](https://redis.io/docs/latest/commands/json.strlen) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns the length of a string. |\n| [JSON.TOGGLE](https://redis.io/docs/latest/commands/json.toggle) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | If the boolean is `true`, changes it to `false`. If the boolean is `false`, changes it to `true`. |\n| [JSON.TYPE](https://redis.io/docs/latest/commands/json.type) | <span title=\"Supported\">&#x2705; Supported</span><br /><span><br /></span> | <span title=\"Supported\">&#x2705; Flexible & Annual</span><br /><span title=\"Supported\">&#x2705; Free & Fixed</nobr></span> | Returns a JSON element's type. |"
    }
  ],
  "examples": []
}
