docs: public static <T> void addIfNotNull(JSONWriter writer, String field,
  			T value, JsonObjectWriter<T> objWriter) throws JSONException {
  		if (value == null)
  			return;
  		writer.key(field);
  		writer.object();
  		objWriter.write(writer, value);
  		writer.endObject();
  	}