package gojay

// AddSliceString unmarshals the next JSON array of strings to the given *[]string s
func ( *Decoder) ( *[]string) error {
	return .SliceString()
}

// SliceString unmarshals the next JSON array of strings to the given *[]string s
func ( *Decoder) ( *[]string) error {
	 := .Array(DecodeArrayFunc(func( *Decoder) error {
		var  string
		if  := .String(&);  != nil {
			return 
		}
		* = append(*, )
		return nil
	}))

	if  != nil {
		return 
	}
	return nil
}

// AddSliceInt unmarshals the next JSON array of integers to the given *[]int s
func ( *Decoder) ( *[]int) error {
	return .SliceInt()
}

// SliceInt unmarshals the next JSON array of integers to the given *[]int s
func ( *Decoder) ( *[]int) error {
	 := .Array(DecodeArrayFunc(func( *Decoder) error {
		var  int
		if  := .Int(&);  != nil {
			return 
		}
		* = append(*, )
		return nil
	}))

	if  != nil {
		return 
	}
	return nil
}

// AddFloat64 unmarshals the next JSON array of floats to the given *[]float64 s
func ( *Decoder) ( *[]float64) error {
	return .SliceFloat64()
}

// SliceFloat64 unmarshals the next JSON array of floats to the given *[]float64 s
func ( *Decoder) ( *[]float64) error {
	 := .Array(DecodeArrayFunc(func( *Decoder) error {
		var  float64
		if  := .Float64(&);  != nil {
			return 
		}
		* = append(*, )
		return nil
	}))

	if  != nil {
		return 
	}
	return nil
}

// AddBool unmarshals the next JSON array of boolegers to the given *[]bool s
func ( *Decoder) ( *[]bool) error {
	return .SliceBool()
}

// SliceBool unmarshals the next JSON array of boolegers to the given *[]bool s
func ( *Decoder) ( *[]bool) error {
	 := .Array(DecodeArrayFunc(func( *Decoder) error {
		var  bool
		if  := .Bool(&);  != nil {
			return 
		}
		* = append(*, )
		return nil
	}))

	if  != nil {
		return 
	}
	return nil
}