Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-32665

tojson should print the elements when passed a Set object

    • Server Tooling & Methods
    • 2

      In the shell, doing:

      tojson(new Set([1,2,3]))
      

      Just prints out a misleading "{ }". tojson should either explicitly throw an error or print out the elements.

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: