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 Redis Data Studio, a native GUI tool, you can import JSON file into Redis namespaced hash keys (key name contains ‘:’) easily and fast, no need to program.

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

Import JSON to Redis hash keys in a namespace in command line

Save “Import JSON to Redis” session, then you can:

Set scheduled tasks for converting JSON to Redis namespace

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 RedisDataStudioJSON to Redis Converter

Download RedisDataStudio Download RedisDataStudio