The nest redis driver is a wrapper for ioredis for nestJS.
The system has wrapper function specifically for working with JSON, but can handle other systems.
Ensure you create a connection using the createConnection function before you attempt to read or write JSON. It is best practice to make sure each command you run references the database by alias. If you do not, the default database may be used, which can be different based on the setup of the project.