Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1280

In JsonWriter, support writing BSON Int64 values as JSON numbers rather than $numberLong

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • JSON
    • None

    Description

      MongoDB 2.6 introduced support for the NumberLong data type in MongoDB Extended JSON using $numberLong.

      In strict mode, JsonWriter will write all Int64 values using $numberLong. But some applications will prefer to lose the type information and just writes them as JSON numbers.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ross@mongodb.com Ross Lawley
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: