Why do ASP.NET JSON web services return the result in ‘d’?
I wrote some ASP.NET web services that use JSON encoding, a la:
public int SetInformation(int recordid, string data)
and the returned JSON is:
Why is the parameter named d? Can I control that? Say, to e?
For reference, a few similar questions I’ve finally been able to dig up:
What does .d in JSON mean?
How to change ASP.NET WebMethod’s ‘d’ identifier in a JSON response, to a different name?
Returning HTML from JSON webservice – what is the “.d”?
More information on this topic: http://encosia.com/a-breaking-change-between-versions-of-aspnet-ajax/ take a look at the section labeled
Waiter, there’s a .d in my msg soup!
- Database Administration Tutorials
- Programming Tutorials & IT News
- Linux & DevOps World
- Ebook Reviews
- PES Matches, Skills & News