Import data from json file to Redis hash keys in same namespace without programming

by

Want to import JSON file into Redis hash keys in same namespace without programming?

Using RedisDataStudio, a native GUI tool, you can import JSON file into Redis namespaced hash keys (key name contains ‘:’) easily and fast, no need to program.

  • Can run in GUI mode, Step by Step, just a few mouse clicks.
  • Can run in Command line, for Scheduled Tasks and Streams.
  • Support Windows, Linux, macOS.

Download RedisDataStudio Download RedisDataStudio

Import JSON file into Redis hash keys in same namespace

Choose JSON file -> Set Redis hash keys namespace -> Import JSON to Redis

Click “Import From File” at task dialog.

Import JSON file into Redis hash keys in same namespace - task window

Choose “File”, “JSON”, “Namespace Hash Keys”, “Hash”.

Import JSON file into Redis hash keys in same namespace - task window

1. Config source JSON file.

Import JSON file into Redis hash keys in same namespace - source file

The JSON file like this:

Import JSON file into Redis hash keys in same namespace - view the source JSON file

2. Config destination hash keys namespace.

Import JSON file into Redis hash keys in same namespace - config destination hash keys namespace

3. Summary.

Import JSON file into Redis hash keys in same namespace - summary

4. Import JSON file into Redis hash keys in same namespace.

Import JSON file into Redis hash keys in same namespace - import file

After importing, you can view hash keys.

Import JSON file into Redis hash keys in same namespace - view key

You can schedule and automate this “JSON to Redis” conversion task by:

1) Save session and create .bat (Windows) or .sh (Linux/macOS) file.

2) Set scheduled task.


More about RedisDataStudio – JSON to Redis Converter

Download RedisDataStudio for 30-day free trial Download RedisDataStudio