title: Java wrapper class for JSON values that implements Map and List
body: <p>Is there a commonly-used library that has classes for representing json in a type-safe way? I'm looking for one where json objects are stored in a Map and json arrays are in a List.</p>
  
  <p>What I want to do is something like this:</p>
  
  <pre><code>myJson.get("myInt").asInt();
  myJson.get("myString").asString();
  </code></pre>
  
  <p><code>.get()</code> should return a missing node object so null checks aren't required.</p>
  
  <p>Jackson is a really nice library that does all of this, but the Jackson JsonObject and JsonArray classes do not implement Map and List.</p>