{"id":14271,"date":"2025-08-16T02:20:30","date_gmt":"2025-08-16T02:20:30","guid":{"rendered":"http:\/\/www.withdata.com\/blog\/?p=14271"},"modified":"2025-08-16T03:20:29","modified_gmt":"2025-08-16T03:20:29","slug":"import-json-to-redis-hash-keys-in-a-namespace","status":"publish","type":"post","link":"https:\/\/www.withdata.com\/blog\/redisdatastudio\/import-json-to-redis-hash-keys-in-a-namespace.html","title":{"rendered":"Import data from json file to Redis hash keys in same namespace without programming"},"content":{"rendered":"<p>Want to import JSON file into Redis hash keys in same namespace without programming?<\/p>\n<p>Using Withdata <a href=\"https:\/\/www.withdata.com\/redis-data-studio\/\">Redis Data Studio<\/a>, a desktop Redis tool, you can import  <a href=\"http:\/\/www.json.org\/\">JSON<\/a>  file into Redis namespaced hash keys (key name contains &#8216;:&#8217;) easily and fast, no need to program.<\/p>\n<ul>\n<li>Can run in <span id=\"gui\">GUI<\/span> mode, <a href=\"#import\">Step by Step<\/a>, just a few mouse clicks.<\/li>\n<li>Can run in <a href=\"\/tools\/file-to-redis\/json-to-redis-cmd\" target=\"_blank\">Command line<\/a>, for <a href=\"\/tools\/file-to-redis\/json-to-redis-task\" target=\"_blank\">Scheduled Tasks<\/a> and Streams.<\/li>\n<li>Convert files locally and <b>privately<\/b>, avoid uploading large JSON file(s) to online services.<\/li>\n<li>Support <a href=\"\/tools\/file-to-redis\/json-to-redis-windows\" target=\"_blank\">Windows<\/a>, <a href=\"\/tools\/file-to-redis\/json-to-redis-linux\" target=\"_blank\">Linux<\/a>, and <a href=\"\/tools\/file-to-redis\/json-to-redis-macos\" target=\"_blank\">macOS<\/a>.<\/li>\n<\/ul>\n<p><a href=\"#download-top\" onclick=\"dtv.style.display = 'block';\">Download Withdata RedisDataStudio<\/a>  <a href=\"#download-top\" onclick=\"dtv.style.display = 'block';\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/download_3.jpg\" alt=\"Download RedisDataStudio\" width=\"80\" height=\"22\" style=\"max-width:100%;height:auto;\" \/><\/a> <span id=\"dtv\" style=\"display: none;\"><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=win64\">Windows 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=win32\">Windows 32 bit<\/a><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=deb\">Linux .deb (For Debian, Ubuntu) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=rpm\">Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=pkg\">MacOS 64 bit<\/a><br \/>\n<\/span><\/p>\n<h2 id=\"import\">Import JSON file into Redis hash keys in same namespace<\/h2>\n<p><a href=\"#source\">Choose JSON file<\/a> -> <a href=\"#target\">Set Redis hash keys namespace<\/a> -> <a href=\"#do\">Import JSON to Redis<\/a><\/p>\n<p> Click &#8220;Import From File&#8221; at task dialog.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/redisdatastudio\/wizard-task.png\" ALT=\"Import JSON file into Redis hash keys in same namespace - task window\" width=\"844\" height=\"543\" style=\"max-width:100%;height:auto;display:block;\"><\/p>\n<p> Choose &#8220;File&#8221;, &#8220;JSON&#8221;, &#8220;Namespace Hash Keys&#8221;, &#8220;Hash&#8221;.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/redisdatastudio\/json_file_to_hash_namespace_types.png\" alt=\"Import JSON file into Redis hash keys in same namespace - task window\" width=\"677\" height=\"401\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p id=\"source\">1. Config source JSON file.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/redisdatastudio\/json_file_to_hash_namespace_source_file.png\" alt=\"Import JSON file into Redis hash keys in same namespace - source file\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p>The JSON file like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/redisdatastudio\/json_file_to_hash_namespace_example_file.png\" alt=\"Import JSON file into Redis hash keys in same namespace - view the source JSON file\" width=\"724\" height=\"504\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p id=\"target\">2. Config destination hash keys namespace.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/redisdatastudio\/x_file_to_hash_namespace_destination.png\" alt=\"Import JSON file into Redis hash keys in same namespace - config destination hash keys namespace\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p>3. Summary.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/redisdatastudio\/json_file_to_hash_namespace_summary.png\" alt=\"Import JSON file into Redis hash keys in same namespace - summary\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p id=\"do\">4. Import JSON file into Redis hash keys in same namespace.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/redisdatastudio\/json_file_to_hash_namespace_import.png\" alt=\"Import JSON file into Redis hash keys in same namespace - import file\" width=\"724\" height=\"573\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<p>After importing, you can view hash keys.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/redisdatastudio\/x_file_to_hash_namespace_view.png\" alt=\"Import JSON file into Redis hash keys in same namespace - view key\" width=\"956\" height=\"699\" style=\"max-width:100%;height:auto;display:block;\" loading=\"lazy\" decoding=\"async\" \/><\/p>\n<hr style=\"clear: both;\" \/>\n<p>More about <a href=\"\/tools\/file-to-redis\/json-to-redis\">JSON to Redis Converter<\/a><\/p>\n<div id=\"download-bottom\" style=\"clear: both;\">\n<p>Download Withdata RedisDataStudio<a href=\"#download-bottom\" onclick=\"dbv.style.display = 'block';\"><img decoding=\"async\" src=\"https:\/\/www.withdata.com\/images\/btn_download_green.png\" alt=\"Download RedisDataStudio\" width=\"165\" height=\"50\" style=\"max-width:100%;height:auto;\" loading=\"lazy\" decoding=\"async\" \/><\/a> <span id=\"dbv\" style=\"display: none;\"><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=win64\">Windows 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=win32\">Windows 32 bit<\/a><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=deb\">Linux .deb (For Debian, Ubuntu) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=rpm\">Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit<\/a><br \/>\n<a href=\"\/download.php?app=RedisDataStudio&#038;ver=pkg\">MacOS 64 bit<\/a><br \/>\n<\/span><\/p>\n<\/div>\n<p>See <a href=\"https:\/\/www.withdata.com\/videos\/redis-data-studio\/json-file-to-hash-namespace\">Video: Import data from JSON file to Redis hash keys in same namespace<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to import JSON file into Redis hash keys in same namespace without programming? Using Withdata Redis Data Studio, a desktop Redis tool, you can import JSON file into Redis namespaced hash keys (key name contains &#8216;:&#8217;) easily and fast, no need to program. Can run in GUI mode, Step by Step, just a few [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3136],"tags":[1418,4178,3134],"class_list":["post-14271","post","type-post","status-publish","format-standard","hentry","category-redisdatastudio","tag-json","tag-json-to-redis","tag-redis"],"_links":{"self":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/14271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/comments?post=14271"}],"version-history":[{"count":9,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/14271\/revisions"}],"predecessor-version":[{"id":39178,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/posts\/14271\/revisions\/39178"}],"wp:attachment":[{"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/media?parent=14271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/categories?post=14271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.withdata.com\/blog\/wp-json\/wp\/v2\/tags?post=14271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}