-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: libbson
-
Labels:None
-
Fully Compatible
libbson outputs the binary type as
{"$type": "<t>", "$binary": "<b>"}
The correct order should be
{ "$binary": "<b>", "$type": "<t>"}
https://docs.mongodb.com/manual/reference/mongodb-extended-json/#binary