@Test
public void toStringItIndent() {

    String str = "[33.5, 42, \"foo\", true, apple]";
    JSONArray array = new JSONArray(str);
    assertEquals("[\n" +
            "  33.5,\n" +
            "  42,\n" +
            "  \"foo\",\n" +
            "  true,\n" +
            "  \"apple\"\n" +
            "]", array.toString(3));
}