wangxiaowei0303 / rapidjson

Automatically exported from code.google.com/p/rapidjson
MIT License
0 stars 0 forks source link

Failed to parse nested json buffer #119

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Not able to parse nested json buffer using rapidjson
2.
3.

What is the expected output? What do you see instead?
Trying to parse nested json buffer but unable to parse and IsObjet() crashed.

What version of the product are you using? On what operating system?
rapidjson-0.11

Please provide any additional information below.

Want to parse following json buffer
[
   {
      "A":
         [
            {
               "X":1,
               "Y":"Data"
            }
         ],
         "B":10,
         "C":10,
         "D":10,
         "E":20005
    }
]

and read the each field and its value

Original issue reported on code.google.com by amitkul111 on 15 Jan 2015 at 11:33

Attachments:

GoogleCodeExporter commented 8 years ago
The text file seems not able to pass compilation. the datastring is different 
from the one you describe.

By the way, please note that the repository has been moved to 
https://github.com/miloyip/rapidjson and there will be more people from 
community helping around.

Original comment by milo...@gmail.com on 16 Jan 2015 at 5:06