---
title: "set json · RUAL Documentation"
description: "Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type."
canonical: https://docs.rual.nl/block-types/redis/function_redis_cache_set_key_json
language: en
---

# set json

This block is part of the [`redis`](https://docs.rual.nl/block-types/redis) group and was last modified in core [`v13.0.8`](https://docs.rual.nl/core-versions/130008).

Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type.

| `redis set` |
| --- |
| `set cache` |

### Core Releases
