-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: JavaScript, Tools
-
None
-
Environment:osx, mongo_export, macbook pro
Exporting to JSON using mongoexport any record that contains a float which has value NaN will fail.
Simple Example:
{
"slatlng" : [NaN, NaN]
}
Additionally:
When in the mongo console, you can exclude such records using:
"slatlng" : {$ne [NaN, NaN]}
but mongoexport cannot parse this as a valid json query. So you cannot do it.