// Code generated by protoc-json-shim. DO NOT EDIT. package authv2beta1 import ( protojson "google.golang.org/protobuf/encoding/protojson" ) // MarshalJSON is a custom marshaler for WorkloadIdentity func (this *WorkloadIdentity) MarshalJSON() ([]byte, error) { str, err := WorkloadIdentityMarshaler.Marshal(this) return []byte(str), err } // UnmarshalJSON is a custom unmarshaler for WorkloadIdentity func (this *WorkloadIdentity) UnmarshalJSON(b []byte) error { return WorkloadIdentityUnmarshaler.Unmarshal(b, this) } var ( WorkloadIdentityMarshaler = &protojson.MarshalOptions{} WorkloadIdentityUnmarshaler = &protojson.UnmarshalOptions{DiscardUnknown: false} )