Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Compass
Created by Guest
Created on Mar 9, 2024

Export symbols as symbols, not text

When I export documents with Symbol fields to JSON, the Symbol fields are converted to text, regardless of which of the Advanced JSON Format settings I choose. Symbol and text fields *aren't* the same! The JSON format should export Symbols as Symbols, e.g. "type": {"$symbol": "text"} instead of "type": "text", similar to what it does with dates and ObjectIDs.
  • Attach files