class JsonHelper {

    public <T> List<T> unmarshallJsonToListOfObjects(Class<T> classType, String jsonContent) throws IOException
    {
        ObjectMapper objectMapper = new ObjectMapper();
        return objectMapper.readValue(jsonContent, objectMapper.getTypeFactory().constructCollectionType(List.class, classType));
    }

}