2011-06-08, 09:33
Montellese Wrote:This has probably changed with the migration from jsoncpp to yajl and therefore the change of JSON writers. What you should do anyway is counting { and }. So a { increases the counter and a } decreases it and everytime you just read a } and the counter is 0 you received a full object which you can parse.
Ok, I had considered this, I wasn't sure whether the {} could exist within "" , or if it was possible to escape the {} characters; because if so then I would also have to check for those.