jodd-json/src/main/java/jodd/json/JsonObject.java
public JsonObject put(final String key, final Enum value) {
		Objects.requireNonNull(key);
		map.put(key, value == null ? null : value.name());
		return this;
	}
public JsonObject put(final String key, final Enum value) {
		Objects.requireNonNull(key);
		map.put(key, value == null ? null : value.name());
		return this;
	}
Puts an Enum into the JSON object with the specified key.
<p>
JSON has no concept of encoding Enums, so the Enum will be converted to a String using the {@code java.lang.Enum#name}
method and the value put as a String.