public void test_array() throws Exception {
JSONReader reader = new JSONReader(new StringReader("[[],[],3,null,{\"name\":\"jobs\"},{\"id\":123},{\"id\":1},{\"id\":2}]"));
reader.startArray();
JSONArray first = (JSONArray) reader.readObject();
JSONArray second = (JSONArray) reader.readObject();
Assert.assertNotNull(first);
Assert.assertNotNull(second);
Assert.assertEquals(new Integer(3), reader.readInteger());