Skip to content

Allow to define Map type while decoding #16

@Mahad-10

Description

@Mahad-10

MsgPack serializer currently can't specify the types of keys and values for a Map during decoding. It would be beneficial to introduce a feature like:

Deserializer deserializer = Deserializer(
    list,
    extDecoder: extDecoder,
    copyBinaryData: copyBinaryData,
    mapType: mapType,
  );

For reference, something like:
https://github.com/ugorji/go/blob/07c54c229a5acac2d5bc739820a3ecc5411b7b33/codec/decode.go#L216

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions