title: Use nlohmann json to unpack list of integers to a std::vector<int>
body: <p>I'm using <a href="https://github.com/nlohmann/json" rel="noreferrer">https://github.com/nlohmann/json</a></p>
  
  <p>It's awesome.</p>
  
  <p>But .. is there any way to unpack:</p>
  
  <pre><code>{
      "my_list" : [1,2,3]
  }
  </code></pre>
  
  <p>into a <code>std:vector&lt;int&gt;</code> ?</p>
  
  <p>I can't find any mention, and <code>std::vector&lt;int&gt; v = j["my_list"];</code> fails, as does <code>j["my_list"].get&lt;std::vector&lt;int&gt;&gt;()</code></p>
  
  <p>Crosslinking to <a href="https://github.com/nlohmann/json/issues/1460" rel="noreferrer">https://github.com/nlohmann/json/issues/1460</a></p>