Batch import data from json files to Redis hash keys in same namespace without programming

by

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

Using Withdata software RedisDataStudio, a JSON importer for Redis, you can batch import JSON files 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

Example of bulk importing JSON files into Redis hash keys in same namespace

Source JSON file folder

Batch import JSON file into hash keys in same namespace - source JSON folder

An example JSON file in this folder

Batch import JSON file into hash keys in same namespace - view a source JSON file

After importing, you can view data in Redis hash keys.

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

Import JSON files into Redis hash keys in same namespace

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

Click “Import From File” at task dialog.

Batch import JSON files into Redis hash keys in same namespace - task window

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

Batch import JSON files into Redis hash keys in same namespace - choose types

1. Open source JSON file file folder.

Batch import JSON files into Redis hash keys in same namespace - source JSON file folder

2. Config first source JSON file.

Batch import JSON files into Redis hash keys in same namespace - config first source JSON file

3. Config destination hash keys namespace.

Batch import JSON files into Redis hash keys in same namespace - config destination hash keys namespace

4. Summary.

Batch import JSON files into Redis hash keys in same namespace - summary

5. Batch import JSON files into Redis hash keys in same namespace.

Batch import JSON files into Redis hash keys in same namespace - import file

After importing, you can view data in hash keys.

Batch import JSON files 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