code: public static <P extends Enum<P>> String optString(final JSONObject json,
                                                         P e) {
          return json.optString(e.name());
      }
docs: Returns {@link String} value mapped to {@code e}, or the empty string if the mapping doesn't
  exist.
  
  @param json
  @param e
  @return