Rename toEJSON() back to toJsonForLog()

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • Fully Compatible
    • QE 2025-03-03, QE 2025-03-17
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Although toJsonForLog() may return output conforming to EJSON, we don't want to guarantee that it is and stays EJSON.

      The main objectives of this function are:

      • serialize JavaScript values for logging and debugging
      • return a valid JSON string
      • add type information for selected non-native JSON types (native types are Boolean, Number, String, Object, Array, null)
      • detect recursive objects to avoid recursing forever

              Assignee:
              Serhii Lysenko
              Reporter:
              Romans Kasperovics
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: