Provide BsonDocument.Pretty() method for debugging purposes.

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When displaying a BsonDocument, with default ToString(), it produces a nice compact linear version.
      It would be nice if a BsonDocument supported the Pretty() method, and do like the mongo shell does with pretty().
      Since you did it for the mongo shell, just port that to C#.

            Assignee:
            Unassigned
            Reporter:
            William Steinberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: