code: func (p *Package) EncodeJSON(name string, e interface{}) {
  	if p.err != nil {
  		return
  	}
  
  	b, err := json.Marshal(e)
  	if err != nil {
  		p.err = err
  		return
  	}
  	r := bytes.NewReader(b)
  
  	p.Copy(name, r)
  }
docs: // EncodeJSON to the push package.