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

    • Type: Icon: New Feature New Feature
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: JSON
    • None

      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.

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

              Created:
              Updated:
              Resolved: