public static <T extends MailChimpObject> T fromJson(String json, Class<T> clazz) {
		try {
			return MailChimpGsonFactory.createGson().fromJson(json, clazz);
		} catch(JsonParseException e) {
			throw new IllegalArgumentException(e);
		}
	}
public static < T extends MailChimpObject > T fromJson ( String json , Class < T > clazz ) { try { return MailChimpGsonFactory . createGson ( ) . fromJson ( json , clazz ) ; } catch ( JsonParseException e ) { throw new IllegalArgumentException ( e ) ; } }
Deserializes an object from JSON.

@throws IllegalArgumentException if <code>json</code> cannot be deserialized to an object of class <code>clazz</code>.