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

Add toEJSON() function to serialize to EJSON for logs

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • Fully Compatible
    • QE 2025-02-03, QE 2025-02-17

      tostrictjson() is used to serialize to EJSON but it only works with BSON objects and has limitations (ie, circular dependencies). toEJSON() is introduced to overcome this.

            Assignee:
            daniel.tabacaru@mongodb.com Daniel Tabacaru
            Reporter:
            daniel.tabacaru@mongodb.com Daniel Tabacaru
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: