Making of JSON Webservice using C# .NET

Posted by Parth_90 on Stack Overflow See other posts from Stack Overflow or by Parth_90
Published on 2011-11-29T09:29:27Z Indexed on 2011/11/29 9:50 UTC
Read the original article Hit count: 280

Filed under:
|
|
|

I am trying to make JSON webservice in C# .NET. A json string is returning by web method but it contains xml structure like:

  <string xmlns="http://tempuri.org/">
  {"checkrecord":[{"rollno":"abc2","percentage":40,"attended":12,"missed":34}],"Table1":[]}
  </string> 

I saw this article before it wasn't much helpful for me.

So my problem is, that json string is not returned in its pure format. I do not want that xml version and xmlns string. I plan to consume the web service on Android later.

Can anyone help me?

Thanks

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET