func (m *messagePackHubProtocol) UnmarshalArgument(src interface{}, dst interface{}) error {
	rawSrc, ok := src.(msgpack.RawMessage)
	if !ok {
		return fmt.Errorf("invalid source %#v for UnmarshalArgument", src)
	}
	buf := bytes.NewBuffer(rawSrc)
	decoder := msgpack.GetDecoder()
	defer msgpack.PutDecoder(decoder)
	decoder.Reset(buf)
	// Default map decoding expects all maps to have string keys
	decoder.SetMapDecoder(func(decoder *msgpack.Decoder) (interface{}, error) {
		return decoder.DecodeUntypedMap()
	})
	// Ensure uppercase/lowercase mapping for struct member names
	decoder.SetCustomStructTag("json")
	if err := decoder.Decode(dst); err != nil {
		return err
	}
	return nil
}
// UnmarshalArgument unmarshals raw bytes to a destination value. dst is the pointer to the destination value.
UnmarshalArgument unmarshals raw bytes to a destination value. dst is the pointer to the destination value.
// UnmarshalArgument unmarshals raw bytes to a destination value . dst is the pointer to the destination value .
func (m *messagePackHubProtocol) UnmarshalArgument(src interface{}, dst interface{}) error {
	rawSrc, ok := src.(msgpack.RawMessage)
	if !ok {
		return fmt.Errorf("invalid source %#v for UnmarshalArgument", src)
	}
	buf := bytes.NewBuffer(rawSrc)
	decoder := msgpack.GetDecoder()
	defer msgpack.PutDecoder(decoder)
	decoder.Reset(buf)
	decoder.SetMapDecoder(func(decoder *msgpack.Decoder) (interface{}, error) {
		return decoder.DecodeUntypedMap()
	})
	decoder.SetCustomStructTag("json")
	if err := decoder.Decode(dst); err != nil {
		return err
	}
	return nil
}
func ( m * messagePackHubProtocol ) UnmarshalArgument ( src interface { } , dst interface { } ) error { rawSrc , ok := src . ( msgpack . RawMessage ) if ! ok { return fmt . Errorf ( " " , src ) } buf := bytes . NewBuffer ( rawSrc ) decoder := msgpack . GetDecoder ( ) defer msgpack . PutDecoder ( decoder ) decoder . Reset ( buf ) decoder . SetMapDecoder ( func ( decoder * msgpack . Decoder ) ( interface { } , error ) { return decoder . DecodeUntypedMap ( ) } ) decoder . SetCustomStructTag ( " " ) if err := decoder . Decode ( dst ) ; err != nil { return err } return nil }
UnmarshalArgument unmarshals raw bytes to a destination value.
UnmarshalArgument unmarshals raw bytes to a destination value .
// Default map decoding expects all maps to have string keys // Ensure uppercase/lowercase mapping for struct member names