In this article you will learn parsing JSON in UWP App (Without JSON.NET) in Windows 10 Universal Apps.
Well you would surely ask me, "Why without JSON.NET? ". Answer is really simple, its bad to have dependency of a library and you must know the other way around. When beta version of Windows 10 for developers was launched, I tried adding JSON.NET's old version and as a result I was not able to use it as a support for UWP apps since at that time it wasn't available. I just imagined that time, "What if they don't provide support for Windows 10? ", "What if they end their support?". That made me move to native support of JSON parsing in Windows with help of, using Windows.Data.Json; It's a bit hard to parse JSON but according to me a Windows Developer should know both the ways to parse JSON.
Why is NewtonSoft (JSON.NET) so common when Windows Provide Native support for JSON parsing? Well it started with Windows Phone (Silverlight) that didn't had native support for parsing JSON. Newtonsoft (JSON.NET) was one of the most efficient way to parse JSON on Windows Phone. More Windows Developers adopted it and used same way to parse JSON on Windows Phone, Windows Store and Web as well. It's easier to play with JSON. Then Microsoft introduced native support for parsing JSON which was Windows.Data.Json. So for the time being just imagine there is no nuget package to parse JSON and you have to do it in a native way. Let's discover how we can parse JSON using Windows.Data,Json; Whenever you are parsing JSON you need to request data using Client. Well it's same for parsing Json.net way or native way. Code: First you need initialize client to request JSON data,
Step into Windows 10 UWP