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?
Asked
Active
Viewed 2.0k times
3 Answers
13
Json.NET supports the .NET 3.5 compact framework.

James Newton-King
- 48,174
- 24
- 109
- 130
-
, i am using Json.NET and downloaded the dll and saved to my Desktop folder added the reference.It shows there is not enough space on the disk – shanavascet Nov 07 '14 at 15:00
-
@shanavascet I've the same problem how did you get around? – Joe B Jun 01 '15 at 19:02
-
1@JoeB I had been adding the wrong reference. you can see a CE version in the dll folder. You should add the compact version for windows mobile. – shanavascet Jun 03 '15 at 06:10
-
1@shanavascet Thanks for replying But I don't see and CE dll please advice – Joe B Jun 03 '15 at 19:39
-
@shanavascet I got the right version from [link](http://stackoverflow.com/questions/11295872/json-net-windows-mobile-error-when-serializing) Thanks anyway – Joe B Jun 03 '15 at 19:45
-
It doesn't add the CE dll – The One Feb 01 '18 at 21:46
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.

Jon Skeet
- 1,421,763
- 867
- 9,128
- 9,194