code: public static <T> T readUrlAsObject(String url, Class<T> type) {
  		String contents = getUrlContents(url);
  		ObjectMapper mapper = new ObjectMapper();
  		mapper.enableDefaultTyping();
  
  		try {
  			return mapper.readValue(contents, type);
  		} catch (IOException e) {
  			JK.throww(e);
  			return null;
  		}
  	}
docs: Read the given url contents, and try to create an object from the given type.
  
  @param      <T> the generic type
  @param url  the url
  @param type the type
  @return the t