I am working in .net core project. I want to serialize the objects using JavaScriptSerializer.
JavaScriptSerializer Serializer = new JavaScriptSerializer();
I added the namespace using System.Web.Script.Serialization;
. It throws errors. I googled it. I saw like .net core project does not have System.Web.Script.Serialization;
in some sites.
Is there have any another way to serialize the objects in the .net core like JavaScriptSerializer?