Details
-
Bug
-
Resolution: Done
-
Critical - P2
-
None
-
2.2.4
-
None
-
Ubuntu Server 14.04 LTS x64
Windows 10 Pro x64
-
Fully Compatible
Description
If you have a RootClass with a SubClass as a child property and it has two float properties then BsonSerializer.Deserialize<TheClass>(json); will throw an error saying that it cannot deserialize the second float. See this gist for re-pro code:
https://gist.github.com/Ravenheart/0f4f47bbe14737cb01998cf86bf0396d
This error occurs in ALL versions of the C# driver, including the legacy one.