func (sc ServiceChecks) WriteItem(stream *jsoniter.Stream, i int) error {
	if i < 0 || i > len(sc)-1 {
		return errors.New("out of range")
	}

	if err := writeServiceCheck(sc[i], stream); err != nil {
		return err
	}
	return stream.Flush()
}
// WriteItem prints the json representation of an item
WriteItem prints the json representation of an item
// WriteItem prints the json representation of an item
func (sc ServiceChecks) WriteItem(stream *jsoniter.Stream, i int) error {
	if i < 0 || i > len(sc)-1 {
		return errors.New("out of range")
	}
	if err := writeServiceCheck(sc[i], stream); err != nil {
		return err
	}
	return stream.Flush()
}
func ( sc ServiceChecks ) WriteItem ( stream * jsoniter . Stream , i int ) error { if i < 0 || i > len ( sc ) - 1 { return errors . New ( " " ) } if err := writeServiceCheck ( sc [ i ] , stream ) ; err != nil { return err } return stream . Flush ( ) }
WriteItem prints the json representation of an item
WriteItem prints the json representation of an item