func (tp *TransportProtocol) MarshalJSON() ([]byte, error) {
	if tp == nil {
		return []byte("null"), nil
	}
	return []byte(`"` + tp.String() + `"`), nil
}
func (tp *TransportProtocol) MarshalJSON() ([]byte, error) {
	if tp == nil {
		return []byte("null"), nil
	}
	return []byte(`"` + tp.String() + `"`), nil
}
func ( tp * TransportProtocol ) MarshalJSON ( ) ( [ ] byte , error ) { if tp == nil { return [ ] byte ( " " ) , nil } return [ ] byte ( `"` + tp . String ( ) + `"` ) , nil }
// MarshalJSON overrides the logic for JSON-encoding the TransportProtocol type
MarshalJSON overrides the logic for JSON - encoding the TransportProtocol type