[GODRIVER-1504] Unmarshaling attempts to parse top-level keys as extended JSON Created: 01/Mar/20 Updated: 28/Oct/23 Resolved: 20/Mar/20 |
|
| Status: | Closed |
| Project: | Go Driver |
| Component/s: | JSON & ExtJSON |
| Affects Version/s: | 1.3.0 |
| Fix Version/s: | 1.3.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | David Golden | Assignee: | Divjot Arora (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
A top level document like the following is interpreted as extended JSON (and errors):
It should not be treated as Extended JSON per the spec and should not error. |
| Comments |
| Comment by Githook User [ 20/Mar/20 ] |
|
Author: {'name': 'Divjot Arora', 'username': 'divjotarora', 'email': 'divjot.arora@10gen.com'}Message: |
| Comment by Githook User [ 20/Mar/20 ] |
|
Author: {'name': 'Divjot Arora', 'username': 'divjotarora', 'email': 'divjot.arora@10gen.com'}Message: |
| Comment by Divjot Arora (Inactive) [ 19/Mar/20 ] |