Redis is often called a key-value store because every value stored in the database is attached to a key, and that key is used to look up the value. In this article, we introduce you to the most commonly used data types that are available within Redis. Redis keys are the index to data stored in Redis.
Strings can be stored attached to a key using the SET command: redis> SET mykey "This is a string"
Redis can store arbitrary JSON documents in a single Redis key, as illustrated in Figure You store these JSON documents in Redis using a special JSON version of the Redis SET/GET commands.