I am using Newtonsoft JSON in my project. In my WCF project i am converting a Dataset that has around 1000 rows with 20 columns. When i serialize Dataset and return the json string, the string is returning empty. I found out that if i reduce the rows to 100 then i am getting the string. I believe that the length of the serialize json string has exceeded the limit. How to set a maximum size for the json string when serializing a Dataset?
Regards, Rajagopalan.
As far as I know there is no such an option to set size for json message(it would have to be for xml either). Generally increase message size, I refer you to this post .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.