Creating a JSON object in ASP.Net
<p>I am trying to create a JSON object in a .Net 5 application. The default options I am presented with are <code>Microsoft.AspNet.Mvc.Formatters.Json</code>, <code>Microsoft.Extensions.Configuration.Json</code>, and <code>Newtonsoft.Json</code> when I use the Visual Studio 2015 Qucik Actions on <code>Json</code>. My understanding is that <code>Configuration.Json</code> is for reading form the <code>appsettings.json</code> so it probably is not what I would use to create a JSON object. I can't find any real information on <code>Formatters.Json</code>, how to use it, or what it's intended use it. <code>Newtonsoft.Json</code> is will documented but is it better over the <code>Formatters.Json</code>? Which of the two should I be using?</p>