We have a WCF project where JSON responses are generated automatically but in one scenario we are creating the JSON manually and sending it to browser. That part works fine.
Last night I noticed a bug and tried to figure it out but the problem is really strange. Somehow after concatenating the string values, a block gets removed and I don't have an idea what happened here. See the following code, what is happening?
Following is the snapshot of JSON after the "innerBlock" return data
Following is the snapshot of JSON after string append!
The .Net application was working fine. Since, my JSON was too big, I was using some JSON viewers, but unfortunately they had bugs. Tested the JSON in notepad and things were working fine.
http://jsonviewer.stack.hu
http://jsonlint.com
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With