Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-831

Provide BsonDocument.Pretty() method for debugging purposes.

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None

    Description

      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#.

      Attachments

        Activity

          People

            Unassigned Unassigned
            brother bill William Steinberg
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: