func (enum KeyTypeEnum) MarshalJSON() ([]byte, error) {
	return json.Marshal(enum.String())
}
/*
MarshalJSON implements json.Marshaler
package db
import (
	"encoding/json"
	"fmt"
)
type keyTypeEnum struct {
	Number KeyTypeEnum
	String KeyTypeEnum
	Date   KeyTypeEnum
	Array  KeyTypeEnum
}
var KeyType = keyTypeEnum{
	Number: keyTypeNumber,
	String: keyTypeString,
	Date:   keyTypeDate,
	Array:  keyTypeArray,
}
type KeyTypeEnum int
func (enum KeyTypeEnum) String() string {
	return _keyTypeEnums[enum]
}