title: Convert HashMap to JSON string using elemental.json.* classes
body: <p>Using the old org.json.* classes I would simply do the following:</p>
  
  <pre><code>JSONObject jsonObject = new JSONObject(myHashMap);
  String jsonString = jsonObject.toString();
  </code></pre>
  
  <p>I want to know how to do this using the elemental.json.* classes.</p>