Unmarshaling to a interface{} fails

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.2.0
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It fails with an invalid type being specified which in this case is 0x00 when using the empty interface decoder. It seems like a good default would be to instead do ReadDocument and set the interface{} to a bson.D

              Assignee:
              Kristofer Brandow (Inactive)
              Reporter:
              Eric Daniels (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: