You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
consul/proto-public/pbmulticluster/v2/exported_services_json.gen.go

23 lines
679 B

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