title: set json value from file to redis
body: <p>I have a bash.sh script:</p>
  
  <pre><code>#!/usr/bin/env bash
  
  val=$(cat ../my-microservice/conf/config.json)
  
  echo "set my-microservice-config ${val}" |  redis-cli
  </code></pre>
  
  <p>where the config.json:</p>
  
  <pre><code>{
    "key" : "value"
  }
  </code></pre>
  
  <p>When I run it I got:</p>
  
  <blockquote>
    <p>ERR unknown command '}'</p>
  </blockquote>
  
  <p>How to set a json value properly from the json file?</p>