webaudio/types.go
func (t *ContextState) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch ContextState(in.String()) {
	case ContextStateSuspended:
		*t = ContextStateSuspended
	case ContextStateRunning:
		*t = ContextStateRunning
	case ContextStateClosed:
		*t = ContextStateClosed

	default:
		in.AddError(errors.New("unknown ContextState value"))
	}
}
func (t *ContextState) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch ContextState(in.String()) {
	case ContextStateSuspended:
		*t = ContextStateSuspended
	case ContextStateRunning:
		*t = ContextStateRunning
	case ContextStateClosed:
		*t = ContextStateClosed

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