[CSHARP-350] JsonReader doesn't support unquoted element names that start with an underscore Created: 03/Nov/11 Updated: 02/Apr/15 Resolved: 03/Nov/11 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | 1.3 |
| Fix Version/s: | 1.3.1 |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | Robert Stam | Assignee: | Robert Stam |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Description |
|
To reproduce: var json = " { _x : 2 }"; When the element name is quoted there is no problem. |
| Comments |
| Comment by Robert Stam [ 03/Nov/11 ] |
|
Added support for underscores in unquoted element names. Not just leading, but embedded and trailing underscores as well. |