Have `fromjson` understand `UUID("...")` extended json

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      `fromjson` current understands UUIDs of the form:

      {a: {$uuid: "..."}}
      

      It'd be consistent to also recognize:

      {a: UUID("...")}
      

      This would offer parity with how other types can be parsed (e.g: ObjectId) as well as better round-tripping with shell output.

            Assignee:
            Daniel Gottlieb (Inactive)
            Reporter:
            Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: