[JAVA-1646] Interpret String instances as JSON Created: 09/Feb/15 Updated: 27/Feb/15 Resolved: 25/Feb/15 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Jeffrey Yemin | Assignee: | Jeffrey Yemin |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
One advantage of the new CRUD API in MongoCollection taking instances of Object (instead of Document) is that it can interpret String instances as JSON, which would allow usage like:
|
| Comments |
| Comment by Jeffrey Yemin [ 25/Feb/15 ] | |||
|
Superseded by
The parse method can be statically imported to remove some of the verbosity. |