Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
None
-
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?