headlessexperimental/types.go
func (t *ScreenshotParamsFormat) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch ScreenshotParamsFormat(in.String()) {
	case ScreenshotParamsFormatJpeg:
		*t = ScreenshotParamsFormatJpeg
	case ScreenshotParamsFormatPng:
		*t = ScreenshotParamsFormatPng

	default:
		in.AddError(errors.New("unknown ScreenshotParamsFormat value"))
	}
}
func (t *ScreenshotParamsFormat) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch ScreenshotParamsFormat(in.String()) {
	case ScreenshotParamsFormatJpeg:
		*t = ScreenshotParamsFormatJpeg
	case ScreenshotParamsFormatPng:
		*t = ScreenshotParamsFormatPng

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