[CDRIVER-3877] int64 is serialized without trailing space Created: 26/Jan/21  Updated: 28/Oct/23  Resolved: 01/Feb/21

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.17.3
Fix Version/s: 1.17.4

Type: Bug Priority: Major - P3
Reporter: Kevin Albertson Assignee: Kevin Albertson
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident

 Description   

Serializing a BSON int64 to JSON produces a document like:

{ "x" { "$numberLong" : "123"}

For consistency with other types, it should have a trailing space:

{ "x" { "$numberLong" : "123" }



 Comments   
Comment by Githook User [ 23/Mar/21 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-3877 test BSON string produced (#730)
Branch: csot
https://github.com/mongodb/mongo-c-driver/commit/107d094ba28ae793308e7490f2cbc1eef9eb3419

Comment by Githook User [ 01/Feb/21 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-3877 test BSON string produced (#730)
Branch: r1.17
https://github.com/mongodb/mongo-c-driver/commit/c2b897c1ab6d18637fa932cf79eacaa9a9fefa6a

Comment by Githook User [ 01/Feb/21 ]

Author:

{'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}

Message: CDRIVER-3877 test BSON string produced (#730)
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/107d094ba28ae793308e7490f2cbc1eef9eb3419

Comment by Kevin Albertson [ 26/Jan/21 ]

PR: https://github.com/mongodb/mongo-c-driver/pull/730

Generated at Wed Feb 07 21:19:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.