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

canonical parameter is not respected in UnmarshalExtJSON

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0
    • Affects Version/s: None
    • Component/s: Documentation
    • Needed
    • Hide

      renaming canonical paramter to canonicalOnly for UnmarshalExtJSON: If canonicalOnly is true, UnmarshalExtJSON returns an error if the ExtendedJSON was not marshaled in canonical mode

      Show
      renaming canonical paramter to canonicalOnly for UnmarshalExtJSON: If canonicalOnly is true, UnmarshalExtJSON returns an error if the ExtendedJSON was not marshaled in canonical mode

      The UnmarshalExtJSON function takes a canonical parameter, but does not respect it when parsing. I've attached a repro for this.

            Assignee:
            joy.wang@mongodb.com Joy Wang
            Reporter:
            divjot.arora@mongodb.com Divjot Arora (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: