-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
When given an invalid bson file where an array subdocument has been transformed to read
{"0": 1, "1":2, "9":3, "3":4}instead of
{"0": 1, "1":2, "2":3, "3":4}when dumping this file, C++ bsondump prints
{ "_id" : ObjectId( "546513184bf6e4cb017c5309" ), "type" : "array", "ex" : [ 1, 2, undefined, undefined, undefined, undefined, undefined, undefined, undefined, 3, 4 ] }
but the Go rewrite prints
{"_id":{"$oid":"546513184bf6e4cb017c5309"},"ex":[1,2,3,4],"type":"array"}