code: public static <T> T parseWithException(String in, Class<T> mapTo) throws ParseException {
  		JSONParser p = new JSONParser(DEFAULT_PERMISSIVE_MODE);
  		return p.parse(in, defaultReader.getMapper(mapTo));
  	}
docs: Parse input json as a mapTo class
  
  mapTo can be a bean
  
  @since 2.0