Use C# to get JSON data from the web url and map it to .NET Class

Use C# to get JSON data from the web url and map it to .NET Class //Call this function where u want public void GetSubscription() { string requestUrl = " Url from which u want result"; // Send the request with url HttpWebRequest request = (HttpWebRequest)WebRequest.Create(requestUrl); //Response coming HttpWebResponse responce = (HttpWebResponse)request.GetResponse(); // var resstream = responce.GetResponseStream(); Stream responseStream = responce.GetResponseStream();