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

Implement ExtJSON Reader using custom JSON parser & Implement extJSONValueReader and extJSONValueWriter

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.16
    • Affects Version/s: None
    • Component/s: BSON

      The current extended JSON parser uses a JSON parser that can only decode JSON using callbacks. The new encoder and decoder design requires a parser that acts like a state machine. The standard library json.Decoder provides the primitives to do this via the Token method. Build an Extended JSON parser on top of the json.Decoder that operates on a slice of bytes. The standard library json.Decoder does not provide the promise nor the necessary peek functionality to create a non-complex extended JSON parser. Since we will not need anything more than a JSON scanner that can peek inside an object, implement a JSON parser that is RFC 8259 compliant.

       

      Additionally, implement an extended JSON ValueReader on top of this Extended JSON parser and JSON ValueWriter.

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

              Created:
              Updated:
              Resolved: