-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Internal Client
-
None
-
Environment:Tested on Mac OS X
Using the following C++ code the input document containing int type has been modified to float.
void insert(const string& host, const string& collection, const
string& json)
For example supplying json string "
{\"test\":1}" the resulting
document in mongo is
This creates inconsistency and can lead to problem in applications who may check the types of values. It would be nice to fix it.
Thank you,
Valentin