Add support for encoding/decoding TextMarshaller/TextUnmarshaller-keyed map

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      JSON conversion package in the stdlib offers additional support for encoding/decoding map whose key type implements encoding.TextMarshaller/TextUnmarshaller(any type which can be encoded to/decoded from text).

      Contrary to this, our BSON package only supports encoding/decoding string-keyed map for now.

      For convenience and consistency, we should support conversion of TextMarshaller/TextUnmarshaller-keyed map?

            Assignee:
            Unassigned
            Reporter:
            takumi fujiwara
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: