In this thread: How to convert XML to JSON using C#/LINQ?
i found the code for Converting XML to Json. I tried to implement this to Windows 8 but i have a Problem that the:
JavaScriptSerializer
doesn’t exist in Windows 8. Does any one know the assembly for the JavaScriptSerializer?
var json = new JavaScriptSerializer().Serialize(dic);
System.Web.Scripting.Serialization.JavaScriptSerializerRequires
System.Web.Extensions.dllas a reference.Edit: If you’re constrained to WinRT, check out http://json.codeplex.com/