Here's a pretty good walkthrough of creating your first JSON web service from scratch, loading and saving data from SQL Server, and even displaying it using JavaScript or on an iPhone:
[
Creating a JSON Web Service]
I think that pretty much covers everything you were asking for !!!