[CDRIVER-380] add api for custom json serialization Created: 19/Jun/14 Updated: 03/May/17 Resolved: 02/Sep/16 |
|
| Status: | Closed |
| Project: | C Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Christian Hergert | Assignee: | Backlog - C Driver Team |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
currently we only support mongodb extended JSON format. It might be useful to support alternative formats such as the shell JSON format. I think we can keep this contained to serialization only, as deserialization would be a whole other can of worms. This can probably be done with a visitor style callback vtable similar to bson_visitor_t. |
| Comments |
| Comment by Hannes Magnusson [ 02/Sep/16 ] |
|
That doesn't sound like a good idea. |