writer.close();
String text = strWriter.toString();
StringReader strReader = new StringReader(text);
JSONReader reader = new JSONReader(strReader);
reader.startArray();
;
while (reader.hasNext()) {
SectionRequest vo = reader.readObject(SectionRequest.class);
System.out.println("tag:" + vo.getTag() + "screenHeight:" + vo.getScreenHeight() + "ScreenWidth:"
+ vo.getScreenWidth());
Assert.assertEquals(100, vo.getScreenHeight());
Assert.assertEquals(12, vo.getScreenWidth());
Assert.assertEquals("11", vo.getTag());
}
reader.endArray();
reader.close();
}