func Decode(r io.Reader, v interface{}) error {
	decoder := json.NewDecoder(r)

	for {
		if err := decoder.Decode(v); errors.Is(err, io.EOF) {
			break
		} else if err != nil {
			return err
		}
	}

	return nil
}
// Decode a JSON value from a readable. Can decode JSON object and arrays into
// slices and plain Go values.
//
// If the decoding cannot happen, an error is returned. Otherwise, the value is
// written straight into v.
Decode a JSON value from a readable. Can decode JSON object and arrays into
slices and plain Go values.

If the decoding cannot happen, an error is returned. Otherwise, the value is
written straight into v.
// Decode a JSON value from a readable . Can decode JSON object and arrays into // slices and plain Go values . // // If the decoding cannot happen an error is returned . Otherwise the value is // written straight into v .
func Decode(r io.Reader, v interface{}) error {
	decoder := json.NewDecoder(r)
	for {
		if err := decoder.Decode(v); errors.Is(err, io.EOF) {
			break
		} else if err != nil {
			return err
		}
	}
	return nil
}
func Decode ( r io . Reader , v interface { } ) error { decoder := json . NewDecoder ( r ) for { if err := decoder . Decode ( v ) ; errors . Is ( err , io . EOF ) { break } else if err != nil { return err } } return nil }
Decode a JSON value from a readable.
Decode a JSON value from a readable .