code: func (p *JSONPrinter) PrintObj(obj runtime.Object, w io.Writer) error {
  	data, err := json.Marshal(obj)
  	if err != nil {
  		return err
  	}
  	dst := bytes.Buffer{}
  	err = json.Indent(&dst, data, "", "    ")
  	dst.WriteByte('\n')
  	_, err = w.Write(dst.Bytes())
  	return err
  }
docs: // PrintObj is an implementation of ResourcePrinter.PrintObj which simply writes the object to the Writer.