title: Boost::JSON, parsing string
body: <p>So this is my JSON:</p>
  <pre class="lang-cpp prettyprint-override"><code>string js = R&quot;({&quot;table&quot;:&quot;orderBookL2_25&quot;,&quot;action&quot;:&quot;insert&quot;,&quot;data&quot;:[{&quot;symbol&quot;:&quot;XBTUSD&quot;,&quot;id&quot;:8796514950,&quot;side&quot;:&quot;Buy&quot;,&quot;size&quot;:10000,&quot;price&quot;:34850.5},{&quot;symbol&quot;:&quot;XBTUSD&quot;,&quot;id&quot;:8796515700,&quot;side&quot;:&quot;Buy&quot;,&quot;size&quot;:281,&quot;price&quot;:34843}]})&quot;;
  </code></pre>
  <p>I want to somehow convert it into object that could help me to conveniently access values. For example, something like that;</p>
  <pre class="lang-cpp prettyprint-override"><code>parsed_data[&quot;data&quot;][0][&quot;symbol&quot;]
  </code></pre>
  <p>I have tried to use JSON::Boost but I don't know how to parse using this library. I have tried this code:</p>
  <pre class="lang-cpp prettyprint-override"><code>json::value parsed_data{js}; cout &lt;&lt; parsed_data.at(0);
  </code></pre>
  <p>But the output from it is worthless:</p>
  <pre class="lang-js prettyprint-override"><code>&quot;{\&quot;table\&quot;:\&quot;orderBookL2_25\&quot;,\&quot;action\&quot;:\&quot;insert\&quot;,\&quot;data\&quot;:[{\&quot;symbol\&quot;:\&quot;XBTUSD\&quot;,\&quot;id\&quot;:8796514950,\&quot;side\&quot;:\&quot;Buy\&quot;,\&quot;size\&quot;:10000,\&quot;price\&quot;:34850.5},{\&quot;symbol\&quot;:\&quot;XBTUSD\&quot;,\&quot;id\&quot;:8796515700,\&quot;side\&quot;:\&quot;Buy\&quot;,\&quot;size\&quot;:281,\&quot;price\&quot;:34843}]}&quot; 
  </code></pre>