Change toJson method contract to default to extJSON relaxed mode

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: JSON
    • None
    • None
    • Major Change
    • None
    • None
    • None
    • None
    • None
    • None

      The toJson() methods on BasicDBObject, Document, and BsonDocument default to JsonMode.STRICT, but based on the Extended JSON spec they should default to JsonMode.RELAXED.

      As this a a major backwards breaking change, it is being deferred to a major release rather than being included in 3.5.0 along with the rest of the implementation of that specification.

            Assignee:
            John Stewart (Inactive)
            Reporter:
            Jeffrey Yemin
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: