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

tojson should print the elements when passed a Set object

    XMLWordPrintable

    Details

    • Story Points:
      2

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: