How to unmarshal from ReadCloser stream?

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • Environment:
      N/A
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I would want to pass io.ReadCloser object to some method in bson.Unmarshal*. I see a way to do it via using both bsonrw.NewExtJSONValueReader and bson.unmarshalFromReader but the second is unexported. Is it a bug or intended?

            Assignee:
            Unassigned
            Reporter:
            MikoĊ‚aj Hnatiuk
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: