Retrieve generic list in JSON format on client side
I send generic list of data by wcf service using REST. I understand that on server side it was serializing, and on client side deseriali开发者_如何学Pythonzing. How can I get data before deserialization in JSON format to show it to user ?
Take a look at this page, and drop the automatic (de)serialization.
I use DownloadData method from WebClient class to invoke RESTful service and returned data was converted to string using Encoding class :)
精彩评论