[CDRIVER-2208] Introduce new API for Extended JSON spec 2.0 output Created: 11/Jul/17 Updated: 28/Oct/23 Resolved: 24/Jul/17 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | json, libbson |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.0 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeremy Mikola | Assignee: | Jeremy Mikola |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Description |
|
For This ticket aims to accomplish a few things:
Keeping bson_as_json()'s output largely unchanged will ensure that we do not introduce a subtle BC break for users depending on the structure of its current output (based on MongoDB 3.4's extended JSON syntax). Down the line, we can look at deprecating bson_as_json() once MongoDB 3.6 is released and its tools/shell are updated to handle the new format ( |
| Comments |
| Comment by Ramon Fernandez Marina [ 12/Sep/17 ] |
|
Author: {'username': u'ajdavis', 'name': u'A. Jesse Jiryu Davis', 'email': u'jesse@mongodb.com'}Message: |
| Comment by Ramon Fernandez Marina [ 12/Sep/17 ] |
|
Author: {'username': u'ajdavis', 'name': u'Jeremy Mikola', 'email': u'jmikola@gmail.com'}Message: Introduce new functions for the canonical and relaxed formats from Extended Also adds helper function for appending sorted regex options and regression |
| Comment by Githook User [ 28/Jul/17 ] |
|
Author: {'email': 'jmikola@gmail.com', 'username': 'jmikola', 'name': 'Jeremy Mikola'}Message: In Implementations for the BSON functions have been moved to their own file, which is consistent with what we're doing for the APM subscriber functions. |
| Comment by Jeremy Mikola [ 27/Jul/17 ] |
|
Cherry-picked to r1.7: https://github.com/mongodb/libbson/commit/6929d34e7af2ccdc1ce283daf72b4d4dff952849 |
| Comment by Githook User [ 25/Jul/17 ] |
|
Author: {u'username': u'ajdavis', u'name': u'A. Jesse Jiryu Davis', u'email': u'jesse@mongodb.com'}Message: |
| Comment by A. Jesse Jiryu Davis [ 24/Jul/17 ] |
|
Jira automatically links to commits on master. Here's the commit on r1.7: https://github.com/mongodb/libbson/commit/6929d34e7af2ccdc1ce283daf72b4d4dff952849 |
| Comment by Githook User [ 24/Jul/17 ] |
|
Author: {'email': 'jmikola@gmail.com', 'username': 'jmikola', 'name': 'Jeremy Mikola'}Message: Introduce new functions for the canonical and relaxed formats from Extended Also adds helper function for appending sorted regex options and regression |
| Comment by Jeremy Mikola [ 20/Jul/17 ] |
| Comment by A. Jesse Jiryu Davis [ 11/Jul/17 ] |
|
I suggest you:
|