Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-3877

int64 is serialized without trailing space

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 1.17.4
    • 1.17.3
    • None
    • None

    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" }
      

      Attachments

        Activity

          People

            kevin.albertson@mongodb.com Kevin Albertson
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: