serviceworker/types.go
func (t *VersionRunningStatus) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch VersionRunningStatus(in.String()) {
	case VersionRunningStatusStopped:
		*t = VersionRunningStatusStopped
	case VersionRunningStatusStarting:
		*t = VersionRunningStatusStarting
	case VersionRunningStatusRunning:
		*t = VersionRunningStatusRunning
	case VersionRunningStatusStopping:
		*t = VersionRunningStatusStopping

	default:
		in.AddError(errors.New("unknown VersionRunningStatus value"))
	}
}
func (t *VersionRunningStatus) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch VersionRunningStatus(in.String()) {
	case VersionRunningStatusStopped:
		*t = VersionRunningStatusStopped
	case VersionRunningStatusStarting:
		*t = VersionRunningStatusStarting
	case VersionRunningStatusRunning:
		*t = VersionRunningStatusRunning
	case VersionRunningStatusStopping:
		*t = VersionRunningStatusStopping

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