i want to serialize list object in following format.
- without square bracket
[]
at start and end without commma , it should be in new line.
{"document_id":37577,"document_name":"Office Marketview........} {"document_id":37578,"document_name":"Office Marketview........} {"document_id":37579,"document_name":"Office Marketview........} {"document_id":37580,"document_name":"Office Marketview........} {"document_id":37581,"document_name":"Office Marketview........}
currently i am using
var jsoncontent = JsonConvert.SerializeObject(publicationClasses, Formatting.None);
No idea. I google it, but not found any solution.