func (t *DetachReason) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch DetachReason(in.String()) {
	case DetachReasonTargetClosed:
		*t = DetachReasonTargetClosed
	case DetachReasonCanceledByUser:
		*t = DetachReasonCanceledByUser
	case DetachReasonReplacedWithDevtools:
		*t = DetachReasonReplacedWithDevtools
	case DetachReasonRenderProcessGone:
		*t = DetachReasonRenderProcessGone

	default:
		in.AddError(errors.New("unknown DetachReason value"))
	}
}
func (t *DetachReason) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch DetachReason(in.String()) {
	case DetachReasonTargetClosed:
		*t = DetachReasonTargetClosed
	case DetachReasonCanceledByUser:
		*t = DetachReasonCanceledByUser
	case DetachReasonReplacedWithDevtools:
		*t = DetachReasonReplacedWithDevtools
	case DetachReasonRenderProcessGone:
		*t = DetachReasonRenderProcessGone

	default:
		in.AddError(errors.New("unknown DetachReason value"))
	}
}
func ( t * DetachReason ) UnmarshalEasyJSON ( in * jlexer . Lexer ) { switch DetachReason ( in . String ( ) ) { case DetachReasonTargetClosed : * t = DetachReasonTargetClosed case DetachReasonCanceledByUser : * t = DetachReasonCanceledByUser case DetachReasonReplacedWithDevtools : * t = DetachReasonReplacedWithDevtools case DetachReasonRenderProcessGone : * t = DetachReasonRenderProcessGone default : in . AddError ( errors . New ( " " ) ) } }
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalEasyJSON satisfies easyjson . Unmarshaler .