public JsonArray add(final Enum value) {
		if (value == null) {
			list.add(null);
		} else {
			list.add(value.name());
		}
		return this;
	}
public JsonArray add(final Enum value) {
		if (value == null) {
			list.add(null);
		} else {
			list.add(value.name());
		}
		return this;
	}
public JsonArray add ( final Enum value ) { if ( value == null ) { list . add ( null ) ; } else { list . add ( value . name ( ) ) ; } return this ; }
Adds an enum to the JSON array.
<p>
JSON has no concept of encoding Enums, so the Enum will be converted to a String using the {@link java.lang.Enum#name}
method and the value added as a String.
Adds an enum to the JSON array . <p > JSON has no concept of encoding Enums so the Enum will be converted to a String using the {