Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-853

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • BSON
    • None

    Description

      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?

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: