[JAVA-2475] Handle out-of-order keys in Extended JSON Created: 22/Mar/17 Updated: 28/Jun/17 Resolved: 28/Jun/17 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | JSON |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
The Extended JSON specification requires that the $-prefixed keys can appear in any order, e.g.
Currently JsonReader requires the keys to be in the specified order, so the second case above will be parsed as a normal document rather than as a BSON Binary. |
| Comments |
| Comment by Jeffrey Yemin [ 28/Jun/17 ] |
|
Closing as duplicate of |