indexeddb/types.go
func (t *KeyPathType) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch KeyPathType(in.String()) {
	case KeyPathTypeNull:
		*t = KeyPathTypeNull
	case KeyPathTypeString:
		*t = KeyPathTypeString
	case KeyPathTypeArray:
		*t = KeyPathTypeArray

	default:
		in.AddError(errors.New("unknown KeyPathType value"))
	}
}
func (t *KeyPathType) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch KeyPathType(in.String()) {
	case KeyPathTypeNull:
		*t = KeyPathTypeNull
	case KeyPathTypeString:
		*t = KeyPathTypeString
	case KeyPathTypeArray:
		*t = KeyPathTypeArray

	default:
		in.AddError(errors.New("unknown KeyPathType value"))
	}
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.