[JAVA-2556] Change toJson method contract to default to extJSON relaxed mode Created: 14/Jul/17 Updated: 29/Oct/23 Resolved: 20/Sep/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | JSON |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | John Stewart (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Major Change | ||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 15/Jan/20 ] |
|
Author: {'name': 'John Stewart', 'username': 'jstewart-mongo', 'email': 'john.stewart@mongodb.com'}Message: Change toJson method contract to default to extJSON relaxed mode
|
| Comment by Jeffrey Yemin [ 16/Aug/17 ] |
|
Blocked on major release |