Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-612

Remove duplicated Extended JSON logic from "bsoncore"

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • 2.0.0
    • None
    • BSON
    • None
    • Major Change

    Description

      Currently the extended JSON writer is directly encoded into the ValueWriter for extended JSON. This means that the ValueWriter API must be used to write extended JSON and that any packages that bsonrw depends on cannot write extended JSON. Since the bsonrw package depends on the bsoncore package this means the bsoncore has to have it's own implementation of this generic logic. Separate this common logic into it's own (potentially internal) package.

      Specific targets:

      • bson.RawElement.String and bsoncore.Element.String have totally different Extended JSON marshaling logic.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: