-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: bson-4.0.4
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
> EJSON.parse(`{"$numberInt":"1"}`);
1
> EJSON.parse(`{"$numberInt":"1"}`, { relaxed: false });
Int32 { value: '1' }
>
roundtripping this value will result in type loss
- is duplicated by
-
NODE-2612 EJSON stringify in relaxed mode turns Int32s into strings
-
- Closed
-