* @throws SerializationException
*/
@Test
public void testUntypedList() throws IOException, SerializationException {
JSONSerializer listSerializer = new JSONSerializer(ArrayList.class);
List<?> list = (List<?>)listSerializer.readObject(new StringReader("[1, 2, 3, 4, 5]"));
assertEquals(list.get(0), 1);
}
/**
* Tests returning a typed list using {@code org.apache.pivot.util.TypeLiteral}.