Is there a library to read JSON in C# on Windows Mobile? [closed]

心不动则不痛 提交于 2019-12-17 13:53:30

问题


I am trying to find a library to parse JSON on C# on Windows Mobile (working with Visual Studio 2005). The libraries that I have found that allow me to parse JSON in C# (litjson and Jayrock) don't work on Windows Mobile, they require classes that are not present in the .NET compact framework. Is there any library that I have overlooked? Or is there another easy way to parse JSON given these circumstances?


回答1:


Json.NET supports the .NET 3.5 compact framework.




回答2:


Have you looked at what the "missing" classes actually have to do for the existing libraries? If they're reasonably simple to implement yourself, that would be my first suggestion - then contribute the results back to those projects.




回答3:


look here- several C# json libraries to pick from. also, "manually" parsing JSON from string is not all that difficult.



来源:https://stackoverflow.com/questions/183473/is-there-a-library-to-read-json-in-c-sharp-on-windows-mobile

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!