serviceworker/types.go
func (t *VersionStatus) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch VersionStatus(in.String()) {
	case VersionStatusNew:
		*t = VersionStatusNew
	case VersionStatusInstalling:
		*t = VersionStatusInstalling
	case VersionStatusInstalled:
		*t = VersionStatusInstalled
	case VersionStatusActivating:
		*t = VersionStatusActivating
	case VersionStatusActivated:
		*t = VersionStatusActivated
	case VersionStatusRedundant:
		*t = VersionStatusRedundant

	default:
		in.AddError(errors.New("unknown VersionStatus value"))
	}
}
func (t *VersionStatus) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch VersionStatus(in.String()) {
	case VersionStatusNew:
		*t = VersionStatusNew
	case VersionStatusInstalling:
		*t = VersionStatusInstalling
	case VersionStatusInstalled:
		*t = VersionStatusInstalled
	case VersionStatusActivating:
		*t = VersionStatusActivating
	case VersionStatusActivated:
		*t = VersionStatusActivated
	case VersionStatusRedundant:
		*t = VersionStatusRedundant

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