Audit the primitive package for encoding.Text(Un)Marshaler impls

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: JSON & ExtJSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      GODRIVER-2119 brought up the point that marshaling from and unmarshaling to instances of map[primitive.ObjectID]string causes an error because primitive.ObjectID does not implement encoding.TextMarshaler nor encoding.TextUnmarshaler for JSON.

      We should audit the primitive package to ensure that all types implement these functions.

            Assignee:
            Unassigned
            Reporter:
            Benji Rewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: