Click here to Skip to main content
15,886,199 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created smart device project for windows mobile.This application access web services from another pc.
I am reading data using HttpWebResponse.GetResponse().

Here is code...
========
HttpWebResponse webresponse = (HttpWebResponse)webrequest.GetResponse();
StreamReader loResponseStream = new StreamReader(webresponse.GetResponseStream(), enc);
string strResult = loResponseStream.ReadToEnd();
======END===

This method returns data in json format. I want to desrialize it.
I tried to add dll such as System.Web.Extension and System.Web.Script.
But as i add reference it shows exclamation mark symbol on dll file and i am not able to import dll in page.

Is there any dll for smart device project that help to deserialize json data?

Please help me

Thanks
Posted
Updated 15-Sep-14 3:33am
v3
Comments
Nathan Minier 15-Sep-14 9:54am    
You should be able to add System.Json and set the reference to CopyLocal=true.
Ganesh11021423 16-Sep-14 0:44am    
Hello Nathan Minier,

I have already set the reference to CopyLocal=true.
But System.json is not suppoerted in a smart device project.
Do you another solution ?

Thanks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900