Get the enum value associated with a key. @param clazz The type of enum to retrieve. @param key A key string. @return The enum value associated with the key @throws JSONException if the key is not found or if the value cannot be converted to an enum.
(Class<E> clazz, String key)