// Code generated by protoc-gen-jsonshim. DO NOT EDIT. package v1 import ( bytes "bytes" jsonpb "github.com/golang/protobuf/jsonpb" ) // MarshalJSON is a custom marshaler for McpBridge func (this *McpBridge) MarshalJSON() ([]byte, error) { str, err := McpBridgeMarshaler.MarshalToString(this) return []byte(str), err } // UnmarshalJSON is a custom unmarshaler for McpBridge func (this *McpBridge) UnmarshalJSON(b []byte) error { return McpBridgeUnmarshaler.Unmarshal(bytes.NewReader(b), this) } // MarshalJSON is a custom marshaler for RegistryConfig func (this *RegistryConfig) MarshalJSON() ([]byte, error) { str, err := McpBridgeMarshaler.MarshalToString(this) return []byte(str), err } // UnmarshalJSON is a custom unmarshaler for RegistryConfig func (this *RegistryConfig) UnmarshalJSON(b []byte) error { return McpBridgeUnmarshaler.Unmarshal(bytes.NewReader(b), this) } var ( McpBridgeMarshaler = &jsonpb.Marshaler{} McpBridgeUnmarshaler = &jsonpb.Unmarshaler{AllowUnknownFields: true} )