My Silverlight application ViewModel has many Json parsing dependencies on to System.Json.dll. I got to know that this dll is not available in regular .NET. My Silverlight app is in production and now I am planning to port the same to WPF, and I am got it ported with out any code change to WPF except the places where I am parsing the Json like below (Pasting just some sample code, I got 100s of lines of similar Json parsing code snippets).
JsonValue result = JsonObject.Parse(data);
JsonArray movieList = result.SelectToken("movie") as JsonArray;
I can use some other mechanism to parse it or use Json.NET like solutions, but just wondering if there is any easy solution out there, that is a .NET port of System.Json.dll. Then I don’t need to change 50 of my ViewModel .cs files.
Got a nice implementation https://github.com/JeffreyZhao/System.Json , which is 100% compatible with System.Json.dll worked like a charm! I didn’t need any code change in my Silverlight VM to port to WPF.