kubernetes/staging/src/k8s.io/cli-runtime/pkg/printers/json.go

type JSONPrinter

// PrintObj is an implementation of ResourcePrinter.PrintObj which simply writes the object to the Writer.
func (p *JSONPrinter) PrintObj(obj runtime.Object, w io.Writer) error {}