title: 'JavaScriptSerializer' could not be found .net core
body: <p>when trying to initialize a variable</p>
  
  <pre><code>JavaScriptSerializer javascriptSerializer = new JavaScriptSerializer();
  </code></pre>
  
  <p>I am getting the following error : 'JavaScriptSerializer' could not be found .net core.
  i also tried to include the namespace 'System.Web.Script.Serialization' but even that is not found.</p>
  
  <p>How to solve it?</p>