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

Remove duplicated Extended JSON logic from "bsoncore"

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.0
    • Affects Version/s: None
    • Component/s: BSON
    • None
    • Major Change

      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.

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

              Created:
              Updated: