a escape sequence BUG

XMLWordPrintableJSON

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

      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!

              Assignee:
              Andrew Morrow (Inactive)
              Reporter:
              qi bao
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: