[JAVA-177] JSON parsing doesn't handle exponents Created: 07/Oct/10 Updated: 29/Oct/10 Resolved: 08/Oct/10 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | None |
| Affects Version/s: | 2.1 |
| Fix Version/s: | 2.2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jorge Ortiz | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Description |
|
The following code, which tries to parse valid JSON, throws an exception: com.mongodb.util.JSON.parse(" {\"number\" : 3.14e6}") ") |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 08/Oct/10 ] |
|
Thanks jorge |
| Comment by auto [ 08/Oct/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: fix exponent JSON parsing |
| Comment by Jorge Ortiz [ 07/Oct/10 ] |
|
A patch for the issue. |