@Test
public void rawGet() {

    JSONArray array = new JSONArray(asList(
            33.457848383,
            1,
            "cheese",
            new JSONObject(of("foo", "bar")),
            new JSONArray(asList(1,2))));
    assertThat(array.get(0), instanceOf(Double.class));
    assertThat(array.get(1), instanceOf(Integer.class));
    assertThat(array.get(2), instanceOf(String.class));
    assertThat(array.get(3), instanceOf(JSONObject.class));
    assertThat(array.get(4), instanceOf(JSONArray.class));
}