Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2062

Extended json parsing

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • bson-4.8.0
    • Affects Version/s: None
    • Component/s: BSON, Spec Comp
    • Labels:
      None
    • Fully Compatible

      This ticket covers implementing parsing of extended json (canonical and relaxed) into the canonical/relaxed types.

      Parse basic types
      Parse $regex https://jira.mongodb.org/browse/RUBY-2081
      Parse all legal $binary inputs https://jira.mongodb.org/browse/RUBY-2056
      Parse legacy $binary representation https://jira.mongodb.org/browse/RUBY-2073
      Parse $dbPointer https://jira.mongodb.org/browse/RUBY-2086
      Parse $ref https://jira.mongodb.org/browse/RUBY-2087
      Review types of raised exceptions https://jira.mongodb.org/browse/RUBY-2088

      Follow-up work for this ticket is to consider:

      Whether $numberDecimal inputs should be returned as Ruby BigDecimal instances in relaxed mode
      Whether regular expression inputs should be returned as Ruby regular expressions (all or potentially only those with m flag set)

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: