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

JsonReader doesn't parse DBPointer in strict representation correctly

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None

      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

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

              Created:
              Updated:
              Resolved: