staging/src/k8s.io/apimachinery/pkg/runtime/serializer/codec_factory.go
    NewCodecFactory
    —》newSerializersForScheme:构建 jsonSerializer、yamlSerializer、protoRawSerializer

    其中 jsonSerializer、yamlSerializer都是通过json.NewSerializerWithOptions