> mongo --eval "JSON.stringify({x: NumberLong(3)})" MongoDB shell version: 3.3.5 connecting to: test {"x":{}}
This is a regression from 3.2:
> mongo --eval "JSON.stringify({x: NumberLong(3)})" MongoDB shell version: 3.2.6 connecting to: test {"x":{"floatApprox":3}}
- is documented by
-
DOCS-8917 JSON.stringify emits empty document for NumberLong fields
- Closed