More for my own sake than anything else I thought I would comment on this article… This is a good post that details how to create JSON Web Service with .NET technologies.
JSON (short for JavaScript Object Notation and pronounced like “Jason”) is catching on quickly with developers due to the fact that:
- JSON is easy
- JSON is nothing more than name : value pairs assigned within an object
- JSON is easy to understand because if written well, it’s a self-documenting structure.
- JSON is fast (parsing is extremely efficient)
- JSON organizes the ugly mess of procedural programming
An example of a JSON object:
{
"name": "Jack (\"Bee\") Nimble",
"format": {
"type": "rect",
"width": 1920,
"height": 1080,
"interlace": false,
"frame rate": 24
}
}
From my seat, this is a lot easier to understand than SOAP (Simple Object Access Protocol) that has been the standard for .NET Web Services ever since I can remember…
But also an interesting read is The Limitations of JSON, so it’s not a silver bullet.
How To Create A JSON Web Service In ASP.NET – Williamsport Web Developer Weblog