[JAVA-1926] In JsonWriter, remove name quotes in SHELL mode Created: 16/Aug/15 Updated: 07/Jan/19 Resolved: 07/Jan/19 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | JSON |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Trivial - P5 |
| Reporter: | Yann D'Isanto | Assignee: | Unassigned |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
With JsonMode.SHELL ouput mode, properties name should be written without the surrounding quotes. |
| Comments |
| Comment by Ian Whalen (Inactive) [ 07/Jan/19 ] | |
|
Closing as Won't Fix given no other feedback from the community requesting this. If anyone else would in fact like this, please let us know. | |
| Comment by Yann D'Isanto [ 19/Aug/15 ] | |
|
Hi Jeff, Actually I work on the nbmongo plugin of the netbeans ide and, for the next version I'm working on, I'd like to use the JsonWriter in order to allow "mongo shell mode" for document editing (currently it only supports strict json). Regards, | |
| Comment by Jeffrey Yemin [ 19/Aug/15 ] | |
|
Since some strings have to be quoted, e.g.
we chose to just quote them all rather than looking for special characters, since quoting will always work. Is there a particular reason why the quotes are causing you a problem? |