[GODRIVER-2790] Make "bson.D" implement "json.Marshaler" and "json.Unmarshaler" Created: 03/Apr/23  Updated: 03/Apr/23  Resolved: 03/Apr/23

Status: Closed
Project: Go Driver
Component/s: BSON
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Unknown
Reporter: Matt Dale Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates GODRIVER-1765 Add MarshalJSON/UnmarshalJSON functio... Backlog
Related
is related to GODRIVER-2591 Make all BSON types (bson.D, bson.M, ... Backlog
Documentation Changes Summary:

1. What would you like to communicate to the user about this feature?
2. Would you like the user to see examples of the syntax and/or executable code and its output?
3. Which versions of the driver/connector does this apply to?


 Description   

Definition of done:

  • bson.D implements the json.Marshaler and json.Unmarshaler interfaces and output a key-value representation of the bson.D in "regular" (i.e. non-Extended) JSON.


 Comments   
Comment by Matt Dale [ 03/Apr/23 ]

Duplicate of GODRIVER-1765

Generated at Thu Feb 08 08:39:22 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.