开发者

Retrieve generic list in JSON format on client side

开发者 https://www.devze.com 2023-04-04 17:01 出处:网络
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 deserializati

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 :)

0

精彩评论

暂无评论...
验证码 换一张
取 消