1516171819202122232425
reader.startArray(); Assert.assertEquals("abc", reader.readString()); reader.endArray(); reader.close(); } public void test_array_2() throws Exception {
2829303132333435363738
reader.startArray(); reader.startArray(); Assert.assertEquals("abc", reader.readString()); reader.endArray(); reader.endArray(); reader.close(); }
2930313233343536373839
reader.startArray(); Assert.assertEquals("abc", reader.readString()); reader.endArray(); reader.endArray(); reader.close(); } public void test_array_3() throws Exception {
4344454647484950515253
reader.startArray(); reader.startArray(); Assert.assertEquals("abc", reader.readString()); reader.endArray(); reader.endArray(); reader.endArray(); reader.close(); }
4445464748495051525354
reader.startArray(); Assert.assertEquals("abc", reader.readString()); reader.endArray(); reader.endArray(); reader.endArray(); reader.close(); }
4546474849505152535455
Assert.assertEquals("abc", reader.readString()); reader.endArray(); reader.endArray(); reader.endArray(); reader.close(); } }
106107108109110111112113114115116
} else { want.fail("not possible"); } } reader.endArray(); reader.close(); check(oneDates, one); check(twoDates, two); }
30313233343536373839
System.out.println(FileUtils.readFileToString(file)); JSONReader reader = new JSONReader(new FileReader(file)); reader.startArray(); reader.readObject(); reader.endArray(); reader.close(); } }