Handle out-of-order keys in Extended JSON

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: JSON
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The Extended JSON specification requires that the $-prefixed keys can appear in any order, e.g.

      {b : {$binary : "AQID=", type : "02"}}
      {b : {$type : "02", $binary : "AQID="}}
      

      Currently JsonReader requires the keys to be in the specified order, so the second case above will be parsed as a normal document rather than as a BSON Binary.

              Assignee:
              Jeffrey Yemin
              Reporter:
              Jeffrey Yemin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: