-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 1.0
-
Component/s: None
-
None
For example, an instance of this class:
public class Point
{ public int X; public int Y; }public class C
{ public ObjectId Id; public Dictionary<Point, int> Points; }is serialized as:
> db.test.find()
{ "_id" : ObjectId("4de7fc1fe447ad107cce92da"), "Points" : [
[
,
1
],
[
,
2
]
] }
>
But the "_t" values are redundant because the type of the key is known to be Point.