Details
-
Improvement
-
Resolution: Won't Fix
-
Major - P3
-
None
-
2.9.0
-
None
Description
This:
String str = "{x : 1}, y : 1";
|
DBObject parsedJSON = (DBObject) JSON.parse(str);
|
produces a DBObject equivalent to:
new BasicDBObject(x, 1)
|
It should throw an exception instead