[GODRIVER-1199] primitive.Decimal128 does not implement MarshalJSON or UnmarshalJSON Created: 16/Jul/19 Updated: 28/Oct/23 Resolved: 27/Jan/21 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | BSON |
| Affects Version/s: | 1.0.4 |
| Fix Version/s: | 1.5.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ryan Wynn | Assignee: | Isabella Siu (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | jeff+ | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | GODRIVER-1691 |
| Description |
|
I noticed that primitive.Decimal128 were not being rendered to JSON and I think it is because the JSON MarshalJSON and UnmarshalJSON methods are not implemented for it. |
| Comments |
| Comment by Kevin Albertson [ 11/Feb/21 ] |
|
Cherry-picked onto release/1.5 with https://github.com/mongodb/mongo-go-driver/commit/6e83de7e43af83c0d0bd7ad1fc23aeb6f80a804d |
| Comment by Githook User [ 27/Jan/21 ] |
|
Author: {'name': 'Isabella Siu', 'email': 'isabella.siu@mongodb.com', 'username': 'iwysiu'}Message: |