Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-955

a escape sequence BUG

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Duplicate
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: Release
    • Labels:
      None

      Description

      Recently,I found a strange phenomenon that most data can be read correctly,but there are a piece of data cannot work normally,it looks like this:

      {
          "_id" : 146,
       
          omit
       
          "introduce" : "Servers need a way to know who a user is. \"Once a server knows who the user is, it can decide which transactions and resources the user can access. \" ",
       
          omit
       
      }
      

      Did you notice that there are a escape sequence in the vaue of key introduce?
      if there are a escape sequence in the values,c++ driver json parse function will give a error :
      json parse(): has error, <unspecified file>(23): expected '}' or ','

      Please fix this bug,thanks!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              acm Andrew Morrow
              Reporter:
              baoq1991@126.com qi bao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: