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

package deviceorientation

import (
	json 
	easyjson 
	jlexer 
	jwriter 
)

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

func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDeviceorientation( *jlexer.Lexer,  *SetDeviceOrientationOverrideParams) {
	 := .IsStart()
	if .IsNull() {
		if  {
			.Consumed()
		}
		.Skip()
		return
	}
	.Delim('{')
	for !.IsDelim('}') {
		 := .UnsafeFieldName(false)
		.WantColon()
		if .IsNull() {
			.Skip()
			.WantComma()
			continue
		}
		switch  {
		case "alpha":
			.Alpha = float64(.Float64())
		case "beta":
			.Beta = float64(.Float64())
		case "gamma":
			.Gamma = float64(.Float64())
		default:
			.SkipRecursive()
		}
		.WantComma()
	}
	.Delim('}')
	if  {
		.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDeviceorientation( *jwriter.Writer,  SetDeviceOrientationOverrideParams) {
	.RawByte('{')
	 := true
	_ = 
	{
		const  string = ",\"alpha\":"
		.RawString([1:])
		.Float64(float64(.Alpha))
	}
	{
		const  string = ",\"beta\":"
		.RawString()
		.Float64(float64(.Beta))
	}
	{
		const  string = ",\"gamma\":"
		.RawString()
		.Float64(float64(.Gamma))
	}
	.RawByte('}')
}

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

// MarshalEasyJSON supports easyjson.Marshaler interface
func ( SetDeviceOrientationOverrideParams) ( *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDeviceorientation(, )
}

// UnmarshalJSON supports json.Unmarshaler interface
func ( *SetDeviceOrientationOverrideParams) ( []byte) error {
	 := jlexer.Lexer{Data: }
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDeviceorientation(&, )
	return .Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func ( *SetDeviceOrientationOverrideParams) ( *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDeviceorientation(, )
}
func easyjsonC5a4559bDecodeGithubComChromedpCdprotoDeviceorientation1( *jlexer.Lexer,  *ClearDeviceOrientationOverrideParams) {
	 := .IsStart()
	if .IsNull() {
		if  {
			.Consumed()
		}
		.Skip()
		return
	}
	.Delim('{')
	for !.IsDelim('}') {
		 := .UnsafeFieldName(false)
		.WantColon()
		if .IsNull() {
			.Skip()
			.WantComma()
			continue
		}
		switch  {
		default:
			.SkipRecursive()
		}
		.WantComma()
	}
	.Delim('}')
	if  {
		.Consumed()
	}
}
func easyjsonC5a4559bEncodeGithubComChromedpCdprotoDeviceorientation1( *jwriter.Writer,  ClearDeviceOrientationOverrideParams) {
	.RawByte('{')
	 := true
	_ = 
	.RawByte('}')
}

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

// MarshalEasyJSON supports easyjson.Marshaler interface
func ( ClearDeviceOrientationOverrideParams) ( *jwriter.Writer) {
	easyjsonC5a4559bEncodeGithubComChromedpCdprotoDeviceorientation1(, )
}

// UnmarshalJSON supports json.Unmarshaler interface
func ( *ClearDeviceOrientationOverrideParams) ( []byte) error {
	 := jlexer.Lexer{Data: }
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDeviceorientation1(&, )
	return .Error()
}

// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func ( *ClearDeviceOrientationOverrideParams) ( *jlexer.Lexer) {
	easyjsonC5a4559bDecodeGithubComChromedpCdprotoDeviceorientation1(, )
}