-
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?