[GODRIVER-1515] Extended JSON $numberDouble uses incorrect value for NaN Created: 03/Mar/20 Updated: 30/Mar/22 |
|
| Status: | Backlog |
| Project: | Go Driver |
| Component/s: | JSON & ExtJSON |
| Affects Version/s: | 1.3.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Improve JSON & ExtJSON Implementation |
| Description |
|
Given the following input:
The driver converts this to Go's NaN value, which includes a payload:
Per the BSON corpus, it should not include a payload, and the output should have been this:
|