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

XMLWordPrintableJSON

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

      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
            Reporter:
            Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: