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

Support reading MongoDB Extended JSON containing $numberLong

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.12.3
    • Affects Version/s: None
    • Component/s: JSON
    • None

      MongoDB 2.6 introduced support for the NumberLong data type in MongoDB Extended JSON using $numberLong. However, the Java driver does not yet support it. If you try to insert a document that makes use of $numberLong, you'll get an error saying that field names starting with dollar signs are not allowed. This should be a matter of adding a couple of lines to JSONCallback.java.

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            david.golub@mongodb.com David Golub
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: