assertEquals(outMap.get("foo"), inMap.get("foo"));
assertEquals(outMap.get("str"), inMap.get("str"));
// we can't know that the nested map should be interpreted as a map.
JSONObject actual = (JSONObject) outMap.get("bar");
assertEquals(actual.asMap(), inMap.get("bar"));
}
@SuppressWarnings("unchecked")
@Test
public void testBasic() {