when trying to initialize a variable
JavaScriptSerializer javascriptSerializer = new JavaScriptSerializer();
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.
How to solve it?