1
Answer

How to set max length to JsonConvert.SerializeObject();

I am trying to set Maxlength property to : JsonConvert.SerializeObject()
 I am using  Json.Net DLL.
 
string JSON = JsonConvert.SerializeObject(DataTable Obj);
 
but when I pass large amount of data filled in DataTable object the database table row cell contains 43679 characters. Not more than that.
 
I am not using JavaScriptSerializer and StringBuilder
Can you help me please.
Answers (1)