Skip to content

Allow to define Map type while decoding #59

Description

@muzzammilshahid

The Cbor 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:

CborSimpleCodec cborSimpleCodec = CborSimpleCodec(mapType: Type);

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions