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

by

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

Using Withdata software RedisDataStudio, a JSON importer for Redis, you can batch import JSON files into Redis namespaced string keys (key name contains ‘:’) easily and fast.

  • 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 string keys in same namespace

Source JSON file folder

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

An example JSON file in this folder

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

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

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

Import JSON files into Redis string keys in same namespace

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

Click “Import From File” at task dialog.

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

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

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

1. Open source JSON file folder.

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

2. Config first source JSON file.

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

3. Config destination string keys namespace.

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

4. Summary.

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

5. Import JSON files into Redis string keys in same namespace.

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

After importing, you can view string keys in the namespace.

Batch import JSON files into Redis string keys in same namespace - view string 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