func (enum KeyEventEnum) MarshalJSON() ([]byte, error) {
	return json.Marshal(enum.String())
}
/*
MarshalJSON implements json.Marshaler
package input
import (
	"encoding/json"
	"fmt"
)
type keyEventEnum struct {
	KeyDown    KeyEventEnum
	KeyUp      KeyEventEnum
	RawKeyDown KeyEventEnum
	Char       KeyEventEnum
}
var KeyEvent = keyEventEnum{
	KeyDown:    keyEventKeyDown,
	KeyUp:      keyEventKeyUp,
	RawKeyDown: keyEventRawKeyDown,
	Char:       keyEventChar,
}
type KeyEventEnum int
func (enum KeyEventEnum) String() string {
	return _keyEventEnums[enum]
}