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

JsonReader doesn't parse DBPointer in strict representation correctly

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • BSON
    • None

    Description

      Hi Experts,

      I am using JsonReader in Bson lib to parse the JSON in strict representation, but it looks like the DBPointer type is not correctly parsed, it parsed as DOCUMENT type.

      Attachment is a simple test program to reproduce this problem, can you please look at it and suggest me? Thank you very much!

      BTW. I am using bson-3.8.0.jar in the test.

      Regards,

      Jin

      Attachments

        Activity

          People

            ross@mongodb.com Ross Lawley
            zhao jin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: