Read write object to JSON
===

If I have a class Contact:
    
       public class Contact
       {
	    public Contact()
	    {
	
	    }
	
	    public int ID { get; set;}
	    public string firstName { get; set;}
	    public string lastName { get; set;}
 
        }


in my code I instantiate 5 different Contact objects and their specific properties and then put them into a List&lt;Contact&gt;.


My questions:

- how can I convert the List&lt;Contact&gt; to JSON?
- how can I read the JSON back to a List&lt;Contact&gt; ?
- how can I read from JSON the contact with ID 123 and instantiate a Contact object out of it so I have all the properties?

Much appreciated your help!
Thanks!



P.S. The JSON will look something like this ?:

    {
        contacts:{
            contact:[
                {
                    id:123,
                    firstname:'jhon',
                    lastname:'smith'
                },
                {
                    id:1234,
                    firstname:'robert',
                    lastname:'smith'
                }
            ]
        }
    }