[JAVA-2589] Keys within extended JSON should not require quotation marks Created: 25/Aug/17 Updated: 29/Oct/23 Resolved: 21/May/22 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | JSON |
| Affects Version/s: | 3.5.0 |
| Fix Version/s: | 4.7.0 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Jeffrey Yemin | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Documentation Changes: | Not Needed |
| Description |
|
A JSON document like
should parse even though the "t" and "i" fields are unquoted. In 3.5 it throws an exception:
|
| Comments |
| Comment by Githook User [ 21/May/22 ] |
|
Author: {'name': 'Saül Yéponde', 'email': 'saul.yeponde@gmail.com', 'username': 'salsama59'}Message: Quoting the keys within extended JSON is optional
|
| Comment by Saül YEPONDE [ 02/Apr/18 ] |
|
Hi Jeff, the pull request is updated now based on your feedbacks. |
| Comment by Saül YEPONDE [ 18/Mar/18 ] |
|
Hello, I'm new on this project. https://github.com/mongodb/mongo-java-driver/pull/463 @jeff yemin : Could you tell me what your thoughts on it? Thank you. |