func (t *Violation) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch Violation(in.String()) {
	case ViolationLongTask:
		*t = ViolationLongTask
	case ViolationLongLayout:
		*t = ViolationLongLayout
	case ViolationBlockedEvent:
		*t = ViolationBlockedEvent
	case ViolationBlockedParser:
		*t = ViolationBlockedParser
	case ViolationDiscouragedAPIUse:
		*t = ViolationDiscouragedAPIUse
	case ViolationHandler:
		*t = ViolationHandler
	case ViolationRecurringHandler:
		*t = ViolationRecurringHandler

	default:
		in.AddError(errors.New("unknown Violation value"))
	}
}
func (t *Violation) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch Violation(in.String()) {
	case ViolationLongTask:
		*t = ViolationLongTask
	case ViolationLongLayout:
		*t = ViolationLongLayout
	case ViolationBlockedEvent:
		*t = ViolationBlockedEvent
	case ViolationBlockedParser:
		*t = ViolationBlockedParser
	case ViolationDiscouragedAPIUse:
		*t = ViolationDiscouragedAPIUse
	case ViolationHandler:
		*t = ViolationHandler
	case ViolationRecurringHandler:
		*t = ViolationRecurringHandler

	default:
		in.AddError(errors.New("unknown Violation value"))
	}
}
func ( t * Violation ) UnmarshalEasyJSON ( in * jlexer . Lexer ) { switch Violation ( in . String ( ) ) { case ViolationLongTask : * t = ViolationLongTask case ViolationLongLayout : * t = ViolationLongLayout case ViolationBlockedEvent : * t = ViolationBlockedEvent case ViolationBlockedParser : * t = ViolationBlockedParser case ViolationDiscouragedAPIUse : * t = ViolationDiscouragedAPIUse case ViolationHandler : * t = ViolationHandler case ViolationRecurringHandler : * t = ViolationRecurringHandler default : in . AddError ( errors . New ( " " ) ) } }
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalEasyJSON satisfies easyjson . Unmarshaler .