[SERVER-11136] Support json parsing of NumberLong/Int Created: 11/Oct/13 Updated: 11/Jul/16 Resolved: 11/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code, Tools |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.3 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Scott Hernandez (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Comments |
| Comment by Scott Hernandez (Inactive) [ 04/Dec/13 ] |
|
The goal of this work was not to roundtrip values/types, but simply to improve the parser for internal use. You will want to follow However I think there is a bug and this format is TenGen not JS (extended) as is here: https://github.com/mongodb/mongo/blob/b7434b66409c8d4515b94d3d7e647cf68b2c46ec/src/mongo/db/jsobj.cpp#L81 – I will add that note to the other work being done here: |
| Comment by Antoine Girbal [ 04/Dec/13 ] |
|
scotthernandez It seems quite important that our import / export method like mongoimport has the ability to keep a given number type.
|
| Comment by auto [ 12/Nov/13 ] |
|
Author: {u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}Message: |
| Comment by auto [ 11/Oct/13 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |
| Comment by auto [ 11/Oct/13 ] |
|
Author: {u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}Message: |