}
@Test
public void testDeserializeArray() throws JsonParseException, JsonMappingException, IOException {
ObjectMapper mapper = new ObjectMapper();
mapper.registerModule(STJSModule.getModule());
Array<Integer> a = mapper.readValue("[1,2,3]",
mapper.getTypeFactory().constructCollectionLikeType(Array.class, Integer.class));
assertNotNull(a);
assertEquals(3, a.$length());
assertEquals(2, (int) a.$get(1));