fromJSON() does not handle DBRef documents

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 1.1.0
    • Affects Version/s: 1.0.0-beta2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Converting a DBRef from JSON to BSON results in an ObjectId type:

      { "dbref": { "$ref": "collection", "$id": { "$oid": "56315a7c6118fd1b920270b1" }}}
      

      Results in:

           0 : 18 00 00 00 07 64 62 72 65 66 00 56 31 5a 7c 61  [.....dbref.V1Z|a]
          10 : 18 fd 1b 92 02 70 b1 00                          [.....p..]
      

              Assignee:
              Unassigned
              Reporter:
              Jeremy Mikola
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: