code: func NewDecoder(r io.ReadCloser, codec runtime.Codec) *Decoder {
  	return &Decoder{
  		r:       r,
  		decoder: json.NewDecoder(r),
  		codec:   codec,
  	}
  }
docs: // NewDecoder creates an Decoder for the given writer and codec.