[GODRIVER-775] Cannot parse MongoDB Extended JSON from mongoexport Created: 17/Jan/19 Updated: 28/Oct/23 Resolved: 13/Feb/19 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.0.0-rc1 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | David Golub | Assignee: | Kristofer Brandow (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Exporting a field with BinData using mongoexport generates a JSON file of the form:
The Go driver is currently incapable of parsing this JSON. |
| Comments |
| Comment by Githook User [ 13/Feb/19 ] | |
|
Author: {'name': 'Kris Brandow', 'email': 'kris@mongodb.com', 'username': 'skriptble'}Message: Merge branch 'pr/133' Change-Id: I190dd81087fde60c221c352d908409d2e196a80a | |
| Comment by Jeffrey Yemin [ 17/Jan/19 ] | |
|
I'm not surprised. The extended JSON specification for binary is:
The driver will probably have to be capable of at least parsing the older formats generated from mongoexport. |