Parse Extended JSON into BSON

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Won't Do
    • Priority: Minor - P4
    • None
    • Affects Version/s: 0.0.2
    • Component/s: JSON & ExtJSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It would be nice to allow the parsing of extended JSON in the new go driver. Something similar to the `bson.UnmarshalJSON()` function in the *mgo driver*

      for example, allow expression like this to be correctly parsed to BSON:

      { "_id": ObjectId("59b7887b90afeae466d0cdcb") }
      

      currently, we have to use `$oid` instead:

      { "_id": {
          "$oid": "59b7887b90afeae466d0cdcb"}
      }
      

              Assignee:
              Unassigned
              Reporter:
              adrien petel
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: