Hi I Have the need to escape a json string and I think using Newtonsoft.Json does the trick however
var unescapedString=System.Text.Json.JsonSerializer.Serialize(MyObject);
var escapedJsonString = JsonConvert.ToString(unescapedString);//Newtonsoft.Json
How can I do the same (escape a json string) using System.Text.Json?