title: How to make Json::Value with a std::string? (C++)
body: <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &quot;json/json.h&quot;
  #include &quot;json/json-forwards.h&quot;
  using namespace std;
  
  int main(){
      string str = &quot;{\&quot;hi\&quot;:\&quot;keekee\&quot;}&quot;;
      Json::Value myJson(str);
      cout &lt;&lt; myJson &lt;&lt; endl;
  }
  </code></pre>
  <p>This is my code to ask.</p>
  <p>I expected result to be</p>
  <pre><code>{
      &quot;hi&quot; : &quot;keekee&quot;
  }
  </code></pre>
  <p>like this, but my result is</p>
  <pre><code>&quot;{\&quot;hi\&quot;:\&quot;keekee\&quot;}&quot;
  </code></pre>
  <p>.</p>
  <p>Also, if I add one more line like below,</p>
  <pre><code>#include &lt;iostream&gt;
  #include &lt;string&gt;
  #include &quot;json/json.h&quot;
  #include &quot;json/json-forwards.h&quot;
  using namespace std;
  
  int main(){
      string str = &quot;{\&quot;hi\&quot;:\&quot;keekee\&quot;}&quot;;
      Json::Value myJson(str);
      cout &lt;&lt; myJson &lt;&lt; endl;
      myJson[&quot;hello&quot;] = &quot;buzzz&quot;;
  }
  </code></pre>
  <p>It executes, but it occurs error.</p>
  <p>What should I do?</p>