title: How to parse std::list to json::value in casablanca?
body: <p>I'm trying to parse std::list to json::value with casablanca1.2.0 with Visual Studio 2012 and send JSON request with REST service(POST) from C++ application to Java Application.</p>
  <p>REST service requires a request DTO like this.</p>
  <pre><code>// java
  public class MyProfile {
   private String name;
   private List&lt;String&gt; favoriteFood;
   ...
  }
  </code></pre>
  <p>So I tried to write C++ code, but I couldn't find how to convert std::list to json::value.</p>
  <pre><code>// C++
  std::wstring name = &quot;AAA&quot;;
  std::list&lt;std::wstring&gt; favoriteFood = ...;
  
  json::value requestData;
  requestData[L&quot;name&quot;] = json::value::string(name);
  
  std::vector&lt;json::value::string&gt; vvv;
  for (auto itr = favoriteFood.begin(); itr != favoriteFood.end(); ++itr) {
   vvv.push_back(json::value::string(*itr));
  }
  requestData[L&quot;favoriteFood&quot;] = json::value::array(vvv); // compile error occurs
  </code></pre>
  <p>I'm totally new to Casablanca and JSON, so I can't find any solution.</p>
  <p>Any help would be very nice!!!</p>