Like many ASP.NET developers, I use the Newtonsoft library to convert C# objects into JSON. Is this use of Newtonsoft.Json.JsonConvert.SerializeObject secure?Here is how I use it in a Razor view:<script type=text/javascript>    var json = @Html.Raw(Newtonsoft.Json.JsonConvert.SerializeObject(Model))</script>In Web Forms I might have this in my ASPX:<script type=text/javascript>    var json = <%= Newtonsoft.Json.JsonConvert.SerializeObject(Model)) %></script>
Newtonsoft.Json.JsonConvert.SerializeObject
javascript;asp.net;security;json