Hello everyone I have faced an issue of how to replace breaktes after parse data in c#
Hello everyone I have faced an issue of how to replace breaktes after parse data in c#
Know the answer? Post it. Somebody with the same question will find it here.


string trimResult = jsonData.Trim().Substring(0,1).TrimEnd('}');
If TrimStart is not working then you can use Substring in place of that.
Jignesh I have already use this it's again convert json to string format.
var someType = JsonConvert.DeserializeObject



Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Uttam KumarRank #1,076 · 1.8K reputationPosted Apr 8, 2022, 2:23 PM EDT