// Code generated by easyjson for marshaling/unmarshaling. DO NOT EDIT.

package domsnapshot

import (
	json "encoding/json"
	cdp "github.com/chromedp/cdproto/cdp"
	dom "github.com/chromedp/cdproto/dom"
	domdebugger "github.com/chromedp/cdproto/domdebugger"
	easyjson "github.com/mailru/easyjson"
	jlexer "github.com/mailru/easyjson/jlexer"
	jwriter "github.com/mailru/easyjson/jwriter"
)

// suppress unused package warning
var (
	_ *json.RawMessage
	_ *jlexer.Lexer
	_ *jwriter.Writer
	_ easyjson.Marshaler
)

func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot(in *jlexer.Lexer, out *TextBoxSnapshot) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "layoutIndex":
			if in.IsNull() {
				in.Skip()
				out.LayoutIndex = nil
			} else {
				in.Delim('[')
				if out.LayoutIndex == nil {
					if !in.IsDelim(']') {
						out.LayoutIndex = make([]int64, 0, 8)
					} else {
						out.LayoutIndex = []int64{}
					}
				} else {
					out.LayoutIndex = (out.LayoutIndex)[:0]
				}
				for !in.IsDelim(']') {
					var v1 int64
					v1 = int64(in.Int64())
					out.LayoutIndex = append(out.LayoutIndex, v1)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "bounds":
			if in.IsNull() {
				in.Skip()
				out.Bounds = nil
			} else {
				in.Delim('[')
				if out.Bounds == nil {
					if !in.IsDelim(']') {
						out.Bounds = make([]Rectangle, 0, 2)
					} else {
						out.Bounds = []Rectangle{}
					}
				} else {
					out.Bounds = (out.Bounds)[:0]
				}
				for !in.IsDelim(']') {
					var v2 Rectangle
					if in.IsNull() {
						in.Skip()
						v2 = nil
					} else {
						in.Delim('[')
						if v2 == nil {
							if !in.IsDelim(']') {
								v2 = make(Rectangle, 0, 8)
							} else {
								v2 = Rectangle{}
							}
						} else {
							v2 = (v2)[:0]
						}
						for !in.IsDelim(']') {
							var v3 float64
							v3 = float64(in.Float64())
							v2 = append(v2, v3)
							in.WantComma()
						}
						in.Delim(']')
					}
					out.Bounds = append(out.Bounds, v2)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "start":
			if in.IsNull() {
				in.Skip()
				out.Start = nil
			} else {
				in.Delim('[')
				if out.Start == nil {
					if !in.IsDelim(']') {
						out.Start = make([]int64, 0, 8)
					} else {
						out.Start = []int64{}
					}
				} else {
					out.Start = (out.Start)[:0]
				}
				for !in.IsDelim(']') {
					var v4 int64
					v4 = int64(in.Int64())
					out.Start = append(out.Start, v4)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "length":
			if in.IsNull() {
				in.Skip()
				out.Length = nil
			} else {
				in.Delim('[')
				if out.Length == nil {
					if !in.IsDelim(']') {
						out.Length = make([]int64, 0, 8)
					} else {
						out.Length = []int64{}
					}
				} else {
					out.Length = (out.Length)[:0]
				}
				for !in.IsDelim(']') {
					var v5 int64
					v5 = int64(in.Int64())
					out.Length = append(out.Length, v5)
					in.WantComma()
				}
				in.Delim(']')
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot(out *jwriter.Writer, in TextBoxSnapshot) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"layoutIndex\":"
		out.RawString(prefix[1:])
		if in.LayoutIndex == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v6, v7 := range in.LayoutIndex {
				if v6 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v7))
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"bounds\":"
		out.RawString(prefix)
		if in.Bounds == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v8, v9 := range in.Bounds {
				if v8 > 0 {
					out.RawByte(',')
				}
				if v9 == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
					out.RawString("null")
				} else {
					out.RawByte('[')
					for v10, v11 := range v9 {
						if v10 > 0 {
							out.RawByte(',')
						}
						out.Float64(float64(v11))
					}
					out.RawByte(']')
				}
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"start\":"
		out.RawString(prefix)
		if in.Start == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v12, v13 := range in.Start {
				if v12 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v13))
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"length\":"
		out.RawString(prefix)
		if in.Length == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v14, v15 := range in.Length {
				if v14 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v15))
			}
			out.RawByte(']')
		}
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v TextBoxSnapshot) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v TextBoxSnapshot) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *TextBoxSnapshot) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *TextBoxSnapshot) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot1(in *jlexer.Lexer, out *RareStringData) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "index":
			if in.IsNull() {
				in.Skip()
				out.Index = nil
			} else {
				in.Delim('[')
				if out.Index == nil {
					if !in.IsDelim(']') {
						out.Index = make([]int64, 0, 8)
					} else {
						out.Index = []int64{}
					}
				} else {
					out.Index = (out.Index)[:0]
				}
				for !in.IsDelim(']') {
					var v16 int64
					v16 = int64(in.Int64())
					out.Index = append(out.Index, v16)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "value":
			if in.IsNull() {
				in.Skip()
				out.Value = nil
			} else {
				in.Delim('[')
				if out.Value == nil {
					if !in.IsDelim(']') {
						out.Value = make([]StringIndex, 0, 8)
					} else {
						out.Value = []StringIndex{}
					}
				} else {
					out.Value = (out.Value)[:0]
				}
				for !in.IsDelim(']') {
					var v17 StringIndex
					v17 = StringIndex(in.Int64())
					out.Value = append(out.Value, v17)
					in.WantComma()
				}
				in.Delim(']')
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot1(out *jwriter.Writer, in RareStringData) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"index\":"
		out.RawString(prefix[1:])
		if in.Index == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v18, v19 := range in.Index {
				if v18 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v19))
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"value\":"
		out.RawString(prefix)
		if in.Value == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v20, v21 := range in.Value {
				if v20 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v21))
			}
			out.RawByte(']')
		}
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v RareStringData) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot1(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RareStringData) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot1(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *RareStringData) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot1(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RareStringData) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot1(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot2(in *jlexer.Lexer, out *RareIntegerData) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "index":
			if in.IsNull() {
				in.Skip()
				out.Index = nil
			} else {
				in.Delim('[')
				if out.Index == nil {
					if !in.IsDelim(']') {
						out.Index = make([]int64, 0, 8)
					} else {
						out.Index = []int64{}
					}
				} else {
					out.Index = (out.Index)[:0]
				}
				for !in.IsDelim(']') {
					var v22 int64
					v22 = int64(in.Int64())
					out.Index = append(out.Index, v22)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "value":
			if in.IsNull() {
				in.Skip()
				out.Value = nil
			} else {
				in.Delim('[')
				if out.Value == nil {
					if !in.IsDelim(']') {
						out.Value = make([]int64, 0, 8)
					} else {
						out.Value = []int64{}
					}
				} else {
					out.Value = (out.Value)[:0]
				}
				for !in.IsDelim(']') {
					var v23 int64
					v23 = int64(in.Int64())
					out.Value = append(out.Value, v23)
					in.WantComma()
				}
				in.Delim(']')
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot2(out *jwriter.Writer, in RareIntegerData) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"index\":"
		out.RawString(prefix[1:])
		if in.Index == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v24, v25 := range in.Index {
				if v24 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v25))
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"value\":"
		out.RawString(prefix)
		if in.Value == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v26, v27 := range in.Value {
				if v26 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v27))
			}
			out.RawByte(']')
		}
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v RareIntegerData) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot2(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RareIntegerData) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot2(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *RareIntegerData) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot2(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RareIntegerData) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot2(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot3(in *jlexer.Lexer, out *RareBooleanData) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "index":
			if in.IsNull() {
				in.Skip()
				out.Index = nil
			} else {
				in.Delim('[')
				if out.Index == nil {
					if !in.IsDelim(']') {
						out.Index = make([]int64, 0, 8)
					} else {
						out.Index = []int64{}
					}
				} else {
					out.Index = (out.Index)[:0]
				}
				for !in.IsDelim(']') {
					var v28 int64
					v28 = int64(in.Int64())
					out.Index = append(out.Index, v28)
					in.WantComma()
				}
				in.Delim(']')
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot3(out *jwriter.Writer, in RareBooleanData) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"index\":"
		out.RawString(prefix[1:])
		if in.Index == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v29, v30 := range in.Index {
				if v29 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v30))
			}
			out.RawByte(']')
		}
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v RareBooleanData) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot3(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RareBooleanData) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot3(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *RareBooleanData) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot3(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RareBooleanData) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot3(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot4(in *jlexer.Lexer, out *NodeTreeSnapshot) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "parentIndex":
			if in.IsNull() {
				in.Skip()
				out.ParentIndex = nil
			} else {
				in.Delim('[')
				if out.ParentIndex == nil {
					if !in.IsDelim(']') {
						out.ParentIndex = make([]int64, 0, 8)
					} else {
						out.ParentIndex = []int64{}
					}
				} else {
					out.ParentIndex = (out.ParentIndex)[:0]
				}
				for !in.IsDelim(']') {
					var v31 int64
					v31 = int64(in.Int64())
					out.ParentIndex = append(out.ParentIndex, v31)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "nodeType":
			if in.IsNull() {
				in.Skip()
				out.NodeType = nil
			} else {
				in.Delim('[')
				if out.NodeType == nil {
					if !in.IsDelim(']') {
						out.NodeType = make([]int64, 0, 8)
					} else {
						out.NodeType = []int64{}
					}
				} else {
					out.NodeType = (out.NodeType)[:0]
				}
				for !in.IsDelim(']') {
					var v32 int64
					v32 = int64(in.Int64())
					out.NodeType = append(out.NodeType, v32)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "nodeName":
			if in.IsNull() {
				in.Skip()
				out.NodeName = nil
			} else {
				in.Delim('[')
				if out.NodeName == nil {
					if !in.IsDelim(']') {
						out.NodeName = make([]StringIndex, 0, 8)
					} else {
						out.NodeName = []StringIndex{}
					}
				} else {
					out.NodeName = (out.NodeName)[:0]
				}
				for !in.IsDelim(']') {
					var v33 StringIndex
					v33 = StringIndex(in.Int64())
					out.NodeName = append(out.NodeName, v33)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "nodeValue":
			if in.IsNull() {
				in.Skip()
				out.NodeValue = nil
			} else {
				in.Delim('[')
				if out.NodeValue == nil {
					if !in.IsDelim(']') {
						out.NodeValue = make([]StringIndex, 0, 8)
					} else {
						out.NodeValue = []StringIndex{}
					}
				} else {
					out.NodeValue = (out.NodeValue)[:0]
				}
				for !in.IsDelim(']') {
					var v34 StringIndex
					v34 = StringIndex(in.Int64())
					out.NodeValue = append(out.NodeValue, v34)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "backendNodeId":
			if in.IsNull() {
				in.Skip()
				out.BackendNodeID = nil
			} else {
				in.Delim('[')
				if out.BackendNodeID == nil {
					if !in.IsDelim(']') {
						out.BackendNodeID = make([]cdp.BackendNodeID, 0, 8)
					} else {
						out.BackendNodeID = []cdp.BackendNodeID{}
					}
				} else {
					out.BackendNodeID = (out.BackendNodeID)[:0]
				}
				for !in.IsDelim(']') {
					var v35 cdp.BackendNodeID
					(v35).UnmarshalEasyJSON(in)
					out.BackendNodeID = append(out.BackendNodeID, v35)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "attributes":
			if in.IsNull() {
				in.Skip()
				out.Attributes = nil
			} else {
				in.Delim('[')
				if out.Attributes == nil {
					if !in.IsDelim(']') {
						out.Attributes = make([]ArrayOfStrings, 0, 2)
					} else {
						out.Attributes = []ArrayOfStrings{}
					}
				} else {
					out.Attributes = (out.Attributes)[:0]
				}
				for !in.IsDelim(']') {
					var v36 ArrayOfStrings
					if in.IsNull() {
						in.Skip()
						v36 = nil
					} else {
						in.Delim('[')
						if v36 == nil {
							if !in.IsDelim(']') {
								v36 = make(ArrayOfStrings, 0, 8)
							} else {
								v36 = ArrayOfStrings{}
							}
						} else {
							v36 = (v36)[:0]
						}
						for !in.IsDelim(']') {
							var v37 int64
							v37 = int64(in.Int64())
							v36 = append(v36, v37)
							in.WantComma()
						}
						in.Delim(']')
					}
					out.Attributes = append(out.Attributes, v36)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "textValue":
			if in.IsNull() {
				in.Skip()
				out.TextValue = nil
			} else {
				if out.TextValue == nil {
					out.TextValue = new(RareStringData)
				}
				(*out.TextValue).UnmarshalEasyJSON(in)
			}
		case "inputValue":
			if in.IsNull() {
				in.Skip()
				out.InputValue = nil
			} else {
				if out.InputValue == nil {
					out.InputValue = new(RareStringData)
				}
				(*out.InputValue).UnmarshalEasyJSON(in)
			}
		case "inputChecked":
			if in.IsNull() {
				in.Skip()
				out.InputChecked = nil
			} else {
				if out.InputChecked == nil {
					out.InputChecked = new(RareBooleanData)
				}
				(*out.InputChecked).UnmarshalEasyJSON(in)
			}
		case "optionSelected":
			if in.IsNull() {
				in.Skip()
				out.OptionSelected = nil
			} else {
				if out.OptionSelected == nil {
					out.OptionSelected = new(RareBooleanData)
				}
				(*out.OptionSelected).UnmarshalEasyJSON(in)
			}
		case "contentDocumentIndex":
			if in.IsNull() {
				in.Skip()
				out.ContentDocumentIndex = nil
			} else {
				if out.ContentDocumentIndex == nil {
					out.ContentDocumentIndex = new(RareIntegerData)
				}
				(*out.ContentDocumentIndex).UnmarshalEasyJSON(in)
			}
		case "pseudoType":
			if in.IsNull() {
				in.Skip()
				out.PseudoType = nil
			} else {
				if out.PseudoType == nil {
					out.PseudoType = new(RareStringData)
				}
				(*out.PseudoType).UnmarshalEasyJSON(in)
			}
		case "isClickable":
			if in.IsNull() {
				in.Skip()
				out.IsClickable = nil
			} else {
				if out.IsClickable == nil {
					out.IsClickable = new(RareBooleanData)
				}
				(*out.IsClickable).UnmarshalEasyJSON(in)
			}
		case "currentSourceURL":
			if in.IsNull() {
				in.Skip()
				out.CurrentSourceURL = nil
			} else {
				if out.CurrentSourceURL == nil {
					out.CurrentSourceURL = new(RareStringData)
				}
				(*out.CurrentSourceURL).UnmarshalEasyJSON(in)
			}
		case "originURL":
			if in.IsNull() {
				in.Skip()
				out.OriginURL = nil
			} else {
				if out.OriginURL == nil {
					out.OriginURL = new(RareStringData)
				}
				(*out.OriginURL).UnmarshalEasyJSON(in)
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot4(out *jwriter.Writer, in NodeTreeSnapshot) {
	out.RawByte('{')
	first := true
	_ = first
	if len(in.ParentIndex) != 0 {
		const prefix string = ",\"parentIndex\":"
		first = false
		out.RawString(prefix[1:])
		{
			out.RawByte('[')
			for v38, v39 := range in.ParentIndex {
				if v38 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v39))
			}
			out.RawByte(']')
		}
	}
	if len(in.NodeType) != 0 {
		const prefix string = ",\"nodeType\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		{
			out.RawByte('[')
			for v40, v41 := range in.NodeType {
				if v40 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v41))
			}
			out.RawByte(']')
		}
	}
	if len(in.NodeName) != 0 {
		const prefix string = ",\"nodeName\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		{
			out.RawByte('[')
			for v42, v43 := range in.NodeName {
				if v42 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v43))
			}
			out.RawByte(']')
		}
	}
	if len(in.NodeValue) != 0 {
		const prefix string = ",\"nodeValue\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		{
			out.RawByte('[')
			for v44, v45 := range in.NodeValue {
				if v44 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v45))
			}
			out.RawByte(']')
		}
	}
	if len(in.BackendNodeID) != 0 {
		const prefix string = ",\"backendNodeId\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		{
			out.RawByte('[')
			for v46, v47 := range in.BackendNodeID {
				if v46 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v47))
			}
			out.RawByte(']')
		}
	}
	if len(in.Attributes) != 0 {
		const prefix string = ",\"attributes\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		{
			out.RawByte('[')
			for v48, v49 := range in.Attributes {
				if v48 > 0 {
					out.RawByte(',')
				}
				if v49 == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
					out.RawString("null")
				} else {
					out.RawByte('[')
					for v50, v51 := range v49 {
						if v50 > 0 {
							out.RawByte(',')
						}
						out.Int64(int64(v51))
					}
					out.RawByte(']')
				}
			}
			out.RawByte(']')
		}
	}
	if in.TextValue != nil {
		const prefix string = ",\"textValue\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.TextValue).MarshalEasyJSON(out)
	}
	if in.InputValue != nil {
		const prefix string = ",\"inputValue\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.InputValue).MarshalEasyJSON(out)
	}
	if in.InputChecked != nil {
		const prefix string = ",\"inputChecked\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.InputChecked).MarshalEasyJSON(out)
	}
	if in.OptionSelected != nil {
		const prefix string = ",\"optionSelected\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.OptionSelected).MarshalEasyJSON(out)
	}
	if in.ContentDocumentIndex != nil {
		const prefix string = ",\"contentDocumentIndex\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.ContentDocumentIndex).MarshalEasyJSON(out)
	}
	if in.PseudoType != nil {
		const prefix string = ",\"pseudoType\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.PseudoType).MarshalEasyJSON(out)
	}
	if in.IsClickable != nil {
		const prefix string = ",\"isClickable\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.IsClickable).MarshalEasyJSON(out)
	}
	if in.CurrentSourceURL != nil {
		const prefix string = ",\"currentSourceURL\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.CurrentSourceURL).MarshalEasyJSON(out)
	}
	if in.OriginURL != nil {
		const prefix string = ",\"originURL\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		(*in.OriginURL).MarshalEasyJSON(out)
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v NodeTreeSnapshot) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot4(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v NodeTreeSnapshot) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot4(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *NodeTreeSnapshot) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot4(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *NodeTreeSnapshot) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot4(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot5(in *jlexer.Lexer, out *NameValue) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "name":
			out.Name = string(in.String())
		case "value":
			out.Value = string(in.String())
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot5(out *jwriter.Writer, in NameValue) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"name\":"
		out.RawString(prefix[1:])
		out.String(string(in.Name))
	}
	{
		const prefix string = ",\"value\":"
		out.RawString(prefix)
		out.String(string(in.Value))
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v NameValue) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot5(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v NameValue) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot5(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *NameValue) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot5(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *NameValue) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot5(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot6(in *jlexer.Lexer, out *LayoutTreeSnapshot) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "nodeIndex":
			if in.IsNull() {
				in.Skip()
				out.NodeIndex = nil
			} else {
				in.Delim('[')
				if out.NodeIndex == nil {
					if !in.IsDelim(']') {
						out.NodeIndex = make([]int64, 0, 8)
					} else {
						out.NodeIndex = []int64{}
					}
				} else {
					out.NodeIndex = (out.NodeIndex)[:0]
				}
				for !in.IsDelim(']') {
					var v52 int64
					v52 = int64(in.Int64())
					out.NodeIndex = append(out.NodeIndex, v52)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "styles":
			if in.IsNull() {
				in.Skip()
				out.Styles = nil
			} else {
				in.Delim('[')
				if out.Styles == nil {
					if !in.IsDelim(']') {
						out.Styles = make([]ArrayOfStrings, 0, 2)
					} else {
						out.Styles = []ArrayOfStrings{}
					}
				} else {
					out.Styles = (out.Styles)[:0]
				}
				for !in.IsDelim(']') {
					var v53 ArrayOfStrings
					if in.IsNull() {
						in.Skip()
						v53 = nil
					} else {
						in.Delim('[')
						if v53 == nil {
							if !in.IsDelim(']') {
								v53 = make(ArrayOfStrings, 0, 8)
							} else {
								v53 = ArrayOfStrings{}
							}
						} else {
							v53 = (v53)[:0]
						}
						for !in.IsDelim(']') {
							var v54 int64
							v54 = int64(in.Int64())
							v53 = append(v53, v54)
							in.WantComma()
						}
						in.Delim(']')
					}
					out.Styles = append(out.Styles, v53)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "bounds":
			if in.IsNull() {
				in.Skip()
				out.Bounds = nil
			} else {
				in.Delim('[')
				if out.Bounds == nil {
					if !in.IsDelim(']') {
						out.Bounds = make([]Rectangle, 0, 2)
					} else {
						out.Bounds = []Rectangle{}
					}
				} else {
					out.Bounds = (out.Bounds)[:0]
				}
				for !in.IsDelim(']') {
					var v55 Rectangle
					if in.IsNull() {
						in.Skip()
						v55 = nil
					} else {
						in.Delim('[')
						if v55 == nil {
							if !in.IsDelim(']') {
								v55 = make(Rectangle, 0, 8)
							} else {
								v55 = Rectangle{}
							}
						} else {
							v55 = (v55)[:0]
						}
						for !in.IsDelim(']') {
							var v56 float64
							v56 = float64(in.Float64())
							v55 = append(v55, v56)
							in.WantComma()
						}
						in.Delim(']')
					}
					out.Bounds = append(out.Bounds, v55)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "text":
			if in.IsNull() {
				in.Skip()
				out.Text = nil
			} else {
				in.Delim('[')
				if out.Text == nil {
					if !in.IsDelim(']') {
						out.Text = make([]StringIndex, 0, 8)
					} else {
						out.Text = []StringIndex{}
					}
				} else {
					out.Text = (out.Text)[:0]
				}
				for !in.IsDelim(']') {
					var v57 StringIndex
					v57 = StringIndex(in.Int64())
					out.Text = append(out.Text, v57)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "stackingContexts":
			if in.IsNull() {
				in.Skip()
				out.StackingContexts = nil
			} else {
				if out.StackingContexts == nil {
					out.StackingContexts = new(RareBooleanData)
				}
				(*out.StackingContexts).UnmarshalEasyJSON(in)
			}
		case "paintOrders":
			if in.IsNull() {
				in.Skip()
				out.PaintOrders = nil
			} else {
				in.Delim('[')
				if out.PaintOrders == nil {
					if !in.IsDelim(']') {
						out.PaintOrders = make([]int64, 0, 8)
					} else {
						out.PaintOrders = []int64{}
					}
				} else {
					out.PaintOrders = (out.PaintOrders)[:0]
				}
				for !in.IsDelim(']') {
					var v58 int64
					v58 = int64(in.Int64())
					out.PaintOrders = append(out.PaintOrders, v58)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "offsetRects":
			if in.IsNull() {
				in.Skip()
				out.OffsetRects = nil
			} else {
				in.Delim('[')
				if out.OffsetRects == nil {
					if !in.IsDelim(']') {
						out.OffsetRects = make([]Rectangle, 0, 2)
					} else {
						out.OffsetRects = []Rectangle{}
					}
				} else {
					out.OffsetRects = (out.OffsetRects)[:0]
				}
				for !in.IsDelim(']') {
					var v59 Rectangle
					if in.IsNull() {
						in.Skip()
						v59 = nil
					} else {
						in.Delim('[')
						if v59 == nil {
							if !in.IsDelim(']') {
								v59 = make(Rectangle, 0, 8)
							} else {
								v59 = Rectangle{}
							}
						} else {
							v59 = (v59)[:0]
						}
						for !in.IsDelim(']') {
							var v60 float64
							v60 = float64(in.Float64())
							v59 = append(v59, v60)
							in.WantComma()
						}
						in.Delim(']')
					}
					out.OffsetRects = append(out.OffsetRects, v59)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "scrollRects":
			if in.IsNull() {
				in.Skip()
				out.ScrollRects = nil
			} else {
				in.Delim('[')
				if out.ScrollRects == nil {
					if !in.IsDelim(']') {
						out.ScrollRects = make([]Rectangle, 0, 2)
					} else {
						out.ScrollRects = []Rectangle{}
					}
				} else {
					out.ScrollRects = (out.ScrollRects)[:0]
				}
				for !in.IsDelim(']') {
					var v61 Rectangle
					if in.IsNull() {
						in.Skip()
						v61 = nil
					} else {
						in.Delim('[')
						if v61 == nil {
							if !in.IsDelim(']') {
								v61 = make(Rectangle, 0, 8)
							} else {
								v61 = Rectangle{}
							}
						} else {
							v61 = (v61)[:0]
						}
						for !in.IsDelim(']') {
							var v62 float64
							v62 = float64(in.Float64())
							v61 = append(v61, v62)
							in.WantComma()
						}
						in.Delim(']')
					}
					out.ScrollRects = append(out.ScrollRects, v61)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "clientRects":
			if in.IsNull() {
				in.Skip()
				out.ClientRects = nil
			} else {
				in.Delim('[')
				if out.ClientRects == nil {
					if !in.IsDelim(']') {
						out.ClientRects = make([]Rectangle, 0, 2)
					} else {
						out.ClientRects = []Rectangle{}
					}
				} else {
					out.ClientRects = (out.ClientRects)[:0]
				}
				for !in.IsDelim(']') {
					var v63 Rectangle
					if in.IsNull() {
						in.Skip()
						v63 = nil
					} else {
						in.Delim('[')
						if v63 == nil {
							if !in.IsDelim(']') {
								v63 = make(Rectangle, 0, 8)
							} else {
								v63 = Rectangle{}
							}
						} else {
							v63 = (v63)[:0]
						}
						for !in.IsDelim(']') {
							var v64 float64
							v64 = float64(in.Float64())
							v63 = append(v63, v64)
							in.WantComma()
						}
						in.Delim(']')
					}
					out.ClientRects = append(out.ClientRects, v63)
					in.WantComma()
				}
				in.Delim(']')
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot6(out *jwriter.Writer, in LayoutTreeSnapshot) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"nodeIndex\":"
		out.RawString(prefix[1:])
		if in.NodeIndex == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v65, v66 := range in.NodeIndex {
				if v65 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v66))
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"styles\":"
		out.RawString(prefix)
		if in.Styles == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v67, v68 := range in.Styles {
				if v67 > 0 {
					out.RawByte(',')
				}
				if v68 == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
					out.RawString("null")
				} else {
					out.RawByte('[')
					for v69, v70 := range v68 {
						if v69 > 0 {
							out.RawByte(',')
						}
						out.Int64(int64(v70))
					}
					out.RawByte(']')
				}
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"bounds\":"
		out.RawString(prefix)
		if in.Bounds == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v71, v72 := range in.Bounds {
				if v71 > 0 {
					out.RawByte(',')
				}
				if v72 == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
					out.RawString("null")
				} else {
					out.RawByte('[')
					for v73, v74 := range v72 {
						if v73 > 0 {
							out.RawByte(',')
						}
						out.Float64(float64(v74))
					}
					out.RawByte(']')
				}
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"text\":"
		out.RawString(prefix)
		if in.Text == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v75, v76 := range in.Text {
				if v75 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v76))
			}
			out.RawByte(']')
		}
	}
	{
		const prefix string = ",\"stackingContexts\":"
		out.RawString(prefix)
		if in.StackingContexts == nil {
			out.RawString("null")
		} else {
			(*in.StackingContexts).MarshalEasyJSON(out)
		}
	}
	if len(in.PaintOrders) != 0 {
		const prefix string = ",\"paintOrders\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v77, v78 := range in.PaintOrders {
				if v77 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v78))
			}
			out.RawByte(']')
		}
	}
	if len(in.OffsetRects) != 0 {
		const prefix string = ",\"offsetRects\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v79, v80 := range in.OffsetRects {
				if v79 > 0 {
					out.RawByte(',')
				}
				if v80 == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
					out.RawString("null")
				} else {
					out.RawByte('[')
					for v81, v82 := range v80 {
						if v81 > 0 {
							out.RawByte(',')
						}
						out.Float64(float64(v82))
					}
					out.RawByte(']')
				}
			}
			out.RawByte(']')
		}
	}
	if len(in.ScrollRects) != 0 {
		const prefix string = ",\"scrollRects\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v83, v84 := range in.ScrollRects {
				if v83 > 0 {
					out.RawByte(',')
				}
				if v84 == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
					out.RawString("null")
				} else {
					out.RawByte('[')
					for v85, v86 := range v84 {
						if v85 > 0 {
							out.RawByte(',')
						}
						out.Float64(float64(v86))
					}
					out.RawByte(']')
				}
			}
			out.RawByte(']')
		}
	}
	if len(in.ClientRects) != 0 {
		const prefix string = ",\"clientRects\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v87, v88 := range in.ClientRects {
				if v87 > 0 {
					out.RawByte(',')
				}
				if v88 == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
					out.RawString("null")
				} else {
					out.RawByte('[')
					for v89, v90 := range v88 {
						if v89 > 0 {
							out.RawByte(',')
						}
						out.Float64(float64(v90))
					}
					out.RawByte(']')
				}
			}
			out.RawByte(']')
		}
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v LayoutTreeSnapshot) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot6(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v LayoutTreeSnapshot) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot6(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *LayoutTreeSnapshot) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot6(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *LayoutTreeSnapshot) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot6(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot7(in *jlexer.Lexer, out *LayoutTreeNode) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "domNodeIndex":
			out.DomNodeIndex = int64(in.Int64())
		case "boundingBox":
			if in.IsNull() {
				in.Skip()
				out.BoundingBox = nil
			} else {
				if out.BoundingBox == nil {
					out.BoundingBox = new(dom.Rect)
				}
				(*out.BoundingBox).UnmarshalEasyJSON(in)
			}
		case "layoutText":
			out.LayoutText = string(in.String())
		case "inlineTextNodes":
			if in.IsNull() {
				in.Skip()
				out.InlineTextNodes = nil
			} else {
				in.Delim('[')
				if out.InlineTextNodes == nil {
					if !in.IsDelim(']') {
						out.InlineTextNodes = make([]*InlineTextBox, 0, 8)
					} else {
						out.InlineTextNodes = []*InlineTextBox{}
					}
				} else {
					out.InlineTextNodes = (out.InlineTextNodes)[:0]
				}
				for !in.IsDelim(']') {
					var v91 *InlineTextBox
					if in.IsNull() {
						in.Skip()
						v91 = nil
					} else {
						if v91 == nil {
							v91 = new(InlineTextBox)
						}
						(*v91).UnmarshalEasyJSON(in)
					}
					out.InlineTextNodes = append(out.InlineTextNodes, v91)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "styleIndex":
			out.StyleIndex = int64(in.Int64())
		case "paintOrder":
			out.PaintOrder = int64(in.Int64())
		case "isStackingContext":
			out.IsStackingContext = bool(in.Bool())
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot7(out *jwriter.Writer, in LayoutTreeNode) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"domNodeIndex\":"
		out.RawString(prefix[1:])
		out.Int64(int64(in.DomNodeIndex))
	}
	{
		const prefix string = ",\"boundingBox\":"
		out.RawString(prefix)
		if in.BoundingBox == nil {
			out.RawString("null")
		} else {
			(*in.BoundingBox).MarshalEasyJSON(out)
		}
	}
	if in.LayoutText != "" {
		const prefix string = ",\"layoutText\":"
		out.RawString(prefix)
		out.String(string(in.LayoutText))
	}
	if len(in.InlineTextNodes) != 0 {
		const prefix string = ",\"inlineTextNodes\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v92, v93 := range in.InlineTextNodes {
				if v92 > 0 {
					out.RawByte(',')
				}
				if v93 == nil {
					out.RawString("null")
				} else {
					(*v93).MarshalEasyJSON(out)
				}
			}
			out.RawByte(']')
		}
	}
	if in.StyleIndex != 0 {
		const prefix string = ",\"styleIndex\":"
		out.RawString(prefix)
		out.Int64(int64(in.StyleIndex))
	}
	if in.PaintOrder != 0 {
		const prefix string = ",\"paintOrder\":"
		out.RawString(prefix)
		out.Int64(int64(in.PaintOrder))
	}
	if in.IsStackingContext {
		const prefix string = ",\"isStackingContext\":"
		out.RawString(prefix)
		out.Bool(bool(in.IsStackingContext))
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v LayoutTreeNode) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot7(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v LayoutTreeNode) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot7(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *LayoutTreeNode) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot7(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *LayoutTreeNode) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot7(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot8(in *jlexer.Lexer, out *InlineTextBox) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "boundingBox":
			if in.IsNull() {
				in.Skip()
				out.BoundingBox = nil
			} else {
				if out.BoundingBox == nil {
					out.BoundingBox = new(dom.Rect)
				}
				(*out.BoundingBox).UnmarshalEasyJSON(in)
			}
		case "startCharacterIndex":
			out.StartCharacterIndex = int64(in.Int64())
		case "numCharacters":
			out.NumCharacters = int64(in.Int64())
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot8(out *jwriter.Writer, in InlineTextBox) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"boundingBox\":"
		out.RawString(prefix[1:])
		if in.BoundingBox == nil {
			out.RawString("null")
		} else {
			(*in.BoundingBox).MarshalEasyJSON(out)
		}
	}
	{
		const prefix string = ",\"startCharacterIndex\":"
		out.RawString(prefix)
		out.Int64(int64(in.StartCharacterIndex))
	}
	{
		const prefix string = ",\"numCharacters\":"
		out.RawString(prefix)
		out.Int64(int64(in.NumCharacters))
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v InlineTextBox) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot8(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v InlineTextBox) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot8(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *InlineTextBox) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot8(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *InlineTextBox) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot8(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot9(in *jlexer.Lexer, out *EnableParams) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot9(out *jwriter.Writer, in EnableParams) {
	out.RawByte('{')
	first := true
	_ = first
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v EnableParams) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot9(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot9(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *EnableParams) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot9(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot9(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot10(in *jlexer.Lexer, out *DocumentSnapshot) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "documentURL":
			out.DocumentURL = StringIndex(in.Int64())
		case "title":
			out.Title = StringIndex(in.Int64())
		case "baseURL":
			out.BaseURL = StringIndex(in.Int64())
		case "contentLanguage":
			out.ContentLanguage = StringIndex(in.Int64())
		case "encodingName":
			out.EncodingName = StringIndex(in.Int64())
		case "publicId":
			out.PublicID = StringIndex(in.Int64())
		case "systemId":
			out.SystemID = StringIndex(in.Int64())
		case "frameId":
			out.FrameID = StringIndex(in.Int64())
		case "nodes":
			if in.IsNull() {
				in.Skip()
				out.Nodes = nil
			} else {
				if out.Nodes == nil {
					out.Nodes = new(NodeTreeSnapshot)
				}
				(*out.Nodes).UnmarshalEasyJSON(in)
			}
		case "layout":
			if in.IsNull() {
				in.Skip()
				out.Layout = nil
			} else {
				if out.Layout == nil {
					out.Layout = new(LayoutTreeSnapshot)
				}
				(*out.Layout).UnmarshalEasyJSON(in)
			}
		case "textBoxes":
			if in.IsNull() {
				in.Skip()
				out.TextBoxes = nil
			} else {
				if out.TextBoxes == nil {
					out.TextBoxes = new(TextBoxSnapshot)
				}
				(*out.TextBoxes).UnmarshalEasyJSON(in)
			}
		case "scrollOffsetX":
			out.ScrollOffsetX = float64(in.Float64())
		case "scrollOffsetY":
			out.ScrollOffsetY = float64(in.Float64())
		case "contentWidth":
			out.ContentWidth = float64(in.Float64())
		case "contentHeight":
			out.ContentHeight = float64(in.Float64())
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot10(out *jwriter.Writer, in DocumentSnapshot) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"documentURL\":"
		out.RawString(prefix[1:])
		out.Int64(int64(in.DocumentURL))
	}
	{
		const prefix string = ",\"title\":"
		out.RawString(prefix)
		out.Int64(int64(in.Title))
	}
	{
		const prefix string = ",\"baseURL\":"
		out.RawString(prefix)
		out.Int64(int64(in.BaseURL))
	}
	{
		const prefix string = ",\"contentLanguage\":"
		out.RawString(prefix)
		out.Int64(int64(in.ContentLanguage))
	}
	{
		const prefix string = ",\"encodingName\":"
		out.RawString(prefix)
		out.Int64(int64(in.EncodingName))
	}
	{
		const prefix string = ",\"publicId\":"
		out.RawString(prefix)
		out.Int64(int64(in.PublicID))
	}
	{
		const prefix string = ",\"systemId\":"
		out.RawString(prefix)
		out.Int64(int64(in.SystemID))
	}
	{
		const prefix string = ",\"frameId\":"
		out.RawString(prefix)
		out.Int64(int64(in.FrameID))
	}
	{
		const prefix string = ",\"nodes\":"
		out.RawString(prefix)
		if in.Nodes == nil {
			out.RawString("null")
		} else {
			(*in.Nodes).MarshalEasyJSON(out)
		}
	}
	{
		const prefix string = ",\"layout\":"
		out.RawString(prefix)
		if in.Layout == nil {
			out.RawString("null")
		} else {
			(*in.Layout).MarshalEasyJSON(out)
		}
	}
	{
		const prefix string = ",\"textBoxes\":"
		out.RawString(prefix)
		if in.TextBoxes == nil {
			out.RawString("null")
		} else {
			(*in.TextBoxes).MarshalEasyJSON(out)
		}
	}
	if in.ScrollOffsetX != 0 {
		const prefix string = ",\"scrollOffsetX\":"
		out.RawString(prefix)
		out.Float64(float64(in.ScrollOffsetX))
	}
	if in.ScrollOffsetY != 0 {
		const prefix string = ",\"scrollOffsetY\":"
		out.RawString(prefix)
		out.Float64(float64(in.ScrollOffsetY))
	}
	if in.ContentWidth != 0 {
		const prefix string = ",\"contentWidth\":"
		out.RawString(prefix)
		out.Float64(float64(in.ContentWidth))
	}
	if in.ContentHeight != 0 {
		const prefix string = ",\"contentHeight\":"
		out.RawString(prefix)
		out.Float64(float64(in.ContentHeight))
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v DocumentSnapshot) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot10(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DocumentSnapshot) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot10(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *DocumentSnapshot) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot10(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DocumentSnapshot) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot10(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot11(in *jlexer.Lexer, out *DisableParams) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot11(out *jwriter.Writer, in DisableParams) {
	out.RawByte('{')
	first := true
	_ = first
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v DisableParams) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot11(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot11(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *DisableParams) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot11(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot11(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot12(in *jlexer.Lexer, out *DOMNode) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "nodeType":
			(out.NodeType).UnmarshalEasyJSON(in)
		case "nodeName":
			out.NodeName = string(in.String())
		case "nodeValue":
			out.NodeValue = string(in.String())
		case "textValue":
			out.TextValue = string(in.String())
		case "inputValue":
			out.InputValue = string(in.String())
		case "inputChecked":
			out.InputChecked = bool(in.Bool())
		case "optionSelected":
			out.OptionSelected = bool(in.Bool())
		case "backendNodeId":
			(out.BackendNodeID).UnmarshalEasyJSON(in)
		case "childNodeIndexes":
			if in.IsNull() {
				in.Skip()
				out.ChildNodeIndexes = nil
			} else {
				in.Delim('[')
				if out.ChildNodeIndexes == nil {
					if !in.IsDelim(']') {
						out.ChildNodeIndexes = make([]int64, 0, 8)
					} else {
						out.ChildNodeIndexes = []int64{}
					}
				} else {
					out.ChildNodeIndexes = (out.ChildNodeIndexes)[:0]
				}
				for !in.IsDelim(']') {
					var v94 int64
					v94 = int64(in.Int64())
					out.ChildNodeIndexes = append(out.ChildNodeIndexes, v94)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "attributes":
			if in.IsNull() {
				in.Skip()
				out.Attributes = nil
			} else {
				in.Delim('[')
				if out.Attributes == nil {
					if !in.IsDelim(']') {
						out.Attributes = make([]*NameValue, 0, 8)
					} else {
						out.Attributes = []*NameValue{}
					}
				} else {
					out.Attributes = (out.Attributes)[:0]
				}
				for !in.IsDelim(']') {
					var v95 *NameValue
					if in.IsNull() {
						in.Skip()
						v95 = nil
					} else {
						if v95 == nil {
							v95 = new(NameValue)
						}
						(*v95).UnmarshalEasyJSON(in)
					}
					out.Attributes = append(out.Attributes, v95)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "pseudoElementIndexes":
			if in.IsNull() {
				in.Skip()
				out.PseudoElementIndexes = nil
			} else {
				in.Delim('[')
				if out.PseudoElementIndexes == nil {
					if !in.IsDelim(']') {
						out.PseudoElementIndexes = make([]int64, 0, 8)
					} else {
						out.PseudoElementIndexes = []int64{}
					}
				} else {
					out.PseudoElementIndexes = (out.PseudoElementIndexes)[:0]
				}
				for !in.IsDelim(']') {
					var v96 int64
					v96 = int64(in.Int64())
					out.PseudoElementIndexes = append(out.PseudoElementIndexes, v96)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "layoutNodeIndex":
			out.LayoutNodeIndex = int64(in.Int64())
		case "documentURL":
			out.DocumentURL = string(in.String())
		case "baseURL":
			out.BaseURL = string(in.String())
		case "contentLanguage":
			out.ContentLanguage = string(in.String())
		case "documentEncoding":
			out.DocumentEncoding = string(in.String())
		case "publicId":
			out.PublicID = string(in.String())
		case "systemId":
			out.SystemID = string(in.String())
		case "frameId":
			(out.FrameID).UnmarshalEasyJSON(in)
		case "contentDocumentIndex":
			out.ContentDocumentIndex = int64(in.Int64())
		case "pseudoType":
			(out.PseudoType).UnmarshalEasyJSON(in)
		case "shadowRootType":
			(out.ShadowRootType).UnmarshalEasyJSON(in)
		case "isClickable":
			out.IsClickable = bool(in.Bool())
		case "eventListeners":
			if in.IsNull() {
				in.Skip()
				out.EventListeners = nil
			} else {
				in.Delim('[')
				if out.EventListeners == nil {
					if !in.IsDelim(']') {
						out.EventListeners = make([]*domdebugger.EventListener, 0, 8)
					} else {
						out.EventListeners = []*domdebugger.EventListener{}
					}
				} else {
					out.EventListeners = (out.EventListeners)[:0]
				}
				for !in.IsDelim(']') {
					var v97 *domdebugger.EventListener
					if in.IsNull() {
						in.Skip()
						v97 = nil
					} else {
						if v97 == nil {
							v97 = new(domdebugger.EventListener)
						}
						(*v97).UnmarshalEasyJSON(in)
					}
					out.EventListeners = append(out.EventListeners, v97)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "currentSourceURL":
			out.CurrentSourceURL = string(in.String())
		case "originURL":
			out.OriginURL = string(in.String())
		case "scrollOffsetX":
			out.ScrollOffsetX = float64(in.Float64())
		case "scrollOffsetY":
			out.ScrollOffsetY = float64(in.Float64())
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot12(out *jwriter.Writer, in DOMNode) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"nodeType\":"
		out.RawString(prefix[1:])
		(in.NodeType).MarshalEasyJSON(out)
	}
	{
		const prefix string = ",\"nodeName\":"
		out.RawString(prefix)
		out.String(string(in.NodeName))
	}
	{
		const prefix string = ",\"nodeValue\":"
		out.RawString(prefix)
		out.String(string(in.NodeValue))
	}
	if in.TextValue != "" {
		const prefix string = ",\"textValue\":"
		out.RawString(prefix)
		out.String(string(in.TextValue))
	}
	if in.InputValue != "" {
		const prefix string = ",\"inputValue\":"
		out.RawString(prefix)
		out.String(string(in.InputValue))
	}
	if in.InputChecked {
		const prefix string = ",\"inputChecked\":"
		out.RawString(prefix)
		out.Bool(bool(in.InputChecked))
	}
	if in.OptionSelected {
		const prefix string = ",\"optionSelected\":"
		out.RawString(prefix)
		out.Bool(bool(in.OptionSelected))
	}
	{
		const prefix string = ",\"backendNodeId\":"
		out.RawString(prefix)
		out.Int64(int64(in.BackendNodeID))
	}
	if len(in.ChildNodeIndexes) != 0 {
		const prefix string = ",\"childNodeIndexes\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v98, v99 := range in.ChildNodeIndexes {
				if v98 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v99))
			}
			out.RawByte(']')
		}
	}
	if len(in.Attributes) != 0 {
		const prefix string = ",\"attributes\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v100, v101 := range in.Attributes {
				if v100 > 0 {
					out.RawByte(',')
				}
				if v101 == nil {
					out.RawString("null")
				} else {
					(*v101).MarshalEasyJSON(out)
				}
			}
			out.RawByte(']')
		}
	}
	if len(in.PseudoElementIndexes) != 0 {
		const prefix string = ",\"pseudoElementIndexes\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v102, v103 := range in.PseudoElementIndexes {
				if v102 > 0 {
					out.RawByte(',')
				}
				out.Int64(int64(v103))
			}
			out.RawByte(']')
		}
	}
	if in.LayoutNodeIndex != 0 {
		const prefix string = ",\"layoutNodeIndex\":"
		out.RawString(prefix)
		out.Int64(int64(in.LayoutNodeIndex))
	}
	if in.DocumentURL != "" {
		const prefix string = ",\"documentURL\":"
		out.RawString(prefix)
		out.String(string(in.DocumentURL))
	}
	if in.BaseURL != "" {
		const prefix string = ",\"baseURL\":"
		out.RawString(prefix)
		out.String(string(in.BaseURL))
	}
	if in.ContentLanguage != "" {
		const prefix string = ",\"contentLanguage\":"
		out.RawString(prefix)
		out.String(string(in.ContentLanguage))
	}
	if in.DocumentEncoding != "" {
		const prefix string = ",\"documentEncoding\":"
		out.RawString(prefix)
		out.String(string(in.DocumentEncoding))
	}
	if in.PublicID != "" {
		const prefix string = ",\"publicId\":"
		out.RawString(prefix)
		out.String(string(in.PublicID))
	}
	if in.SystemID != "" {
		const prefix string = ",\"systemId\":"
		out.RawString(prefix)
		out.String(string(in.SystemID))
	}
	if in.FrameID != "" {
		const prefix string = ",\"frameId\":"
		out.RawString(prefix)
		out.String(string(in.FrameID))
	}
	if in.ContentDocumentIndex != 0 {
		const prefix string = ",\"contentDocumentIndex\":"
		out.RawString(prefix)
		out.Int64(int64(in.ContentDocumentIndex))
	}
	if in.PseudoType != "" {
		const prefix string = ",\"pseudoType\":"
		out.RawString(prefix)
		(in.PseudoType).MarshalEasyJSON(out)
	}
	if in.ShadowRootType != "" {
		const prefix string = ",\"shadowRootType\":"
		out.RawString(prefix)
		(in.ShadowRootType).MarshalEasyJSON(out)
	}
	if in.IsClickable {
		const prefix string = ",\"isClickable\":"
		out.RawString(prefix)
		out.Bool(bool(in.IsClickable))
	}
	if len(in.EventListeners) != 0 {
		const prefix string = ",\"eventListeners\":"
		out.RawString(prefix)
		{
			out.RawByte('[')
			for v104, v105 := range in.EventListeners {
				if v104 > 0 {
					out.RawByte(',')
				}
				if v105 == nil {
					out.RawString("null")
				} else {
					(*v105).MarshalEasyJSON(out)
				}
			}
			out.RawByte(']')
		}
	}
	if in.CurrentSourceURL != "" {
		const prefix string = ",\"currentSourceURL\":"
		out.RawString(prefix)
		out.String(string(in.CurrentSourceURL))
	}
	if in.OriginURL != "" {
		const prefix string = ",\"originURL\":"
		out.RawString(prefix)
		out.String(string(in.OriginURL))
	}
	if in.ScrollOffsetX != 0 {
		const prefix string = ",\"scrollOffsetX\":"
		out.RawString(prefix)
		out.Float64(float64(in.ScrollOffsetX))
	}
	if in.ScrollOffsetY != 0 {
		const prefix string = ",\"scrollOffsetY\":"
		out.RawString(prefix)
		out.Float64(float64(in.ScrollOffsetY))
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v DOMNode) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot12(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DOMNode) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot12(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *DOMNode) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot12(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DOMNode) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot12(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot13(in *jlexer.Lexer, out *ComputedStyle) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "properties":
			if in.IsNull() {
				in.Skip()
				out.Properties = nil
			} else {
				in.Delim('[')
				if out.Properties == nil {
					if !in.IsDelim(']') {
						out.Properties = make([]*NameValue, 0, 8)
					} else {
						out.Properties = []*NameValue{}
					}
				} else {
					out.Properties = (out.Properties)[:0]
				}
				for !in.IsDelim(']') {
					var v106 *NameValue
					if in.IsNull() {
						in.Skip()
						v106 = nil
					} else {
						if v106 == nil {
							v106 = new(NameValue)
						}
						(*v106).UnmarshalEasyJSON(in)
					}
					out.Properties = append(out.Properties, v106)
					in.WantComma()
				}
				in.Delim(']')
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot13(out *jwriter.Writer, in ComputedStyle) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"properties\":"
		out.RawString(prefix[1:])
		if in.Properties == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v107, v108 := range in.Properties {
				if v107 > 0 {
					out.RawByte(',')
				}
				if v108 == nil {
					out.RawString("null")
				} else {
					(*v108).MarshalEasyJSON(out)
				}
			}
			out.RawByte(']')
		}
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v ComputedStyle) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot13(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ComputedStyle) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot13(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *ComputedStyle) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot13(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ComputedStyle) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot13(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot14(in *jlexer.Lexer, out *CaptureSnapshotReturns) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "documents":
			if in.IsNull() {
				in.Skip()
				out.Documents = nil
			} else {
				in.Delim('[')
				if out.Documents == nil {
					if !in.IsDelim(']') {
						out.Documents = make([]*DocumentSnapshot, 0, 8)
					} else {
						out.Documents = []*DocumentSnapshot{}
					}
				} else {
					out.Documents = (out.Documents)[:0]
				}
				for !in.IsDelim(']') {
					var v109 *DocumentSnapshot
					if in.IsNull() {
						in.Skip()
						v109 = nil
					} else {
						if v109 == nil {
							v109 = new(DocumentSnapshot)
						}
						(*v109).UnmarshalEasyJSON(in)
					}
					out.Documents = append(out.Documents, v109)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "strings":
			if in.IsNull() {
				in.Skip()
				out.Strings = nil
			} else {
				in.Delim('[')
				if out.Strings == nil {
					if !in.IsDelim(']') {
						out.Strings = make([]string, 0, 4)
					} else {
						out.Strings = []string{}
					}
				} else {
					out.Strings = (out.Strings)[:0]
				}
				for !in.IsDelim(']') {
					var v110 string
					v110 = string(in.String())
					out.Strings = append(out.Strings, v110)
					in.WantComma()
				}
				in.Delim(']')
			}
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot14(out *jwriter.Writer, in CaptureSnapshotReturns) {
	out.RawByte('{')
	first := true
	_ = first
	if len(in.Documents) != 0 {
		const prefix string = ",\"documents\":"
		first = false
		out.RawString(prefix[1:])
		{
			out.RawByte('[')
			for v111, v112 := range in.Documents {
				if v111 > 0 {
					out.RawByte(',')
				}
				if v112 == nil {
					out.RawString("null")
				} else {
					(*v112).MarshalEasyJSON(out)
				}
			}
			out.RawByte(']')
		}
	}
	if len(in.Strings) != 0 {
		const prefix string = ",\"strings\":"
		if first {
			first = false
			out.RawString(prefix[1:])
		} else {
			out.RawString(prefix)
		}
		{
			out.RawByte('[')
			for v113, v114 := range in.Strings {
				if v113 > 0 {
					out.RawByte(',')
				}
				out.String(string(v114))
			}
			out.RawByte(']')
		}
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v CaptureSnapshotReturns) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot14(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CaptureSnapshotReturns) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot14(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *CaptureSnapshotReturns) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot14(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CaptureSnapshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot14(l, v)
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot15(in *jlexer.Lexer, out *CaptureSnapshotParams) {
	isTopLevel := in.IsStart()
	if in.IsNull() {
		if isTopLevel {
			in.Consumed()
		}
		in.Skip()
		return
	}
	in.Delim('{')
	for !in.IsDelim('}') {
		key := in.UnsafeString()
		in.WantColon()
		if in.IsNull() {
			in.Skip()
			in.WantComma()
			continue
		}
		switch key {
		case "computedStyles":
			if in.IsNull() {
				in.Skip()
				out.ComputedStyles = nil
			} else {
				in.Delim('[')
				if out.ComputedStyles == nil {
					if !in.IsDelim(']') {
						out.ComputedStyles = make([]string, 0, 4)
					} else {
						out.ComputedStyles = []string{}
					}
				} else {
					out.ComputedStyles = (out.ComputedStyles)[:0]
				}
				for !in.IsDelim(']') {
					var v115 string
					v115 = string(in.String())
					out.ComputedStyles = append(out.ComputedStyles, v115)
					in.WantComma()
				}
				in.Delim(']')
			}
		case "includePaintOrder":
			out.IncludePaintOrder = bool(in.Bool())
		case "includeDOMRects":
			out.IncludeDOMRects = bool(in.Bool())
		default:
			in.SkipRecursive()
		}
		in.WantComma()
	}
	in.Delim('}')
	if isTopLevel {
		in.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot15(out *jwriter.Writer, in CaptureSnapshotParams) {
	out.RawByte('{')
	first := true
	_ = first
	{
		const prefix string = ",\"computedStyles\":"
		out.RawString(prefix[1:])
		if in.ComputedStyles == nil && (out.Flags&jwriter.NilSliceAsEmpty) == 0 {
			out.RawString("null")
		} else {
			out.RawByte('[')
			for v116, v117 := range in.ComputedStyles {
				if v116 > 0 {
					out.RawByte(',')
				}
				out.String(string(v117))
			}
			out.RawByte(']')
		}
	}
	if in.IncludePaintOrder {
		const prefix string = ",\"includePaintOrder\":"
		out.RawString(prefix)
		out.Bool(bool(in.IncludePaintOrder))
	}
	if in.IncludeDOMRects {
		const prefix string = ",\"includeDOMRects\":"
		out.RawString(prefix)
		out.Bool(bool(in.IncludeDOMRects))
	}
	out.RawByte('}')
}

// MarshalJSON supports json.Marshaler interface
func (v CaptureSnapshotParams) MarshalJSON() ([]byte, error) {
	w := jwriter.Writer{}
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot15(&w, v)
	return w.Buffer.BuildBytes(), w.Error
}

// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CaptureSnapshotParams) MarshalEasyJSON(w *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDomsnapshot15(w, v)
}

// UnmarshalJSON supports json.Unmarshaler interface
func (v *CaptureSnapshotParams) UnmarshalJSON(data []byte) error {
	r := jlexer.Lexer{Data: data}
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot15(&r, v)
	return r.Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CaptureSnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDomsnapshot15(l, v)
}
