Deserialize simple response to array

Oct 27, 2009 at 3:22 PM

Hi, I have a JSON response something like below. I want to deserialize it and populate contentTypes in a dropdown. Any direction on how to deserialize? Sample code for object would help. New to .net... thank you!

{
    "Facets": [
        {
            "contentType": "A",
            "displayName": "a",
            "total": "10"
        },
        {
            "contentType": "B",
            "displayName": "b",
            "total": "7,681"
        },
        {
            "contentType": "C",
            "displayName": "c",
            "total": "3,644"
        },
        {
            "contentType": "D",
            "displayName": "d",
            "total": "10,038"
        },
        {
            "contentType": "E",
            "displayName": "e",
            "total": "367"
        },
        {
            "contentType": "F",
            "displayName": "f",
            "total": "455"
        },
        {
            "contentType": "H",
            "displayName": "h",
            "total": "12"
        },
        {
            "contentType": "R",
            "displayName": "r",
            "total": "2,391"
        },
        {
            "contentType": "S",
            "displayName": "s",
            "total": "69"
        },
        {
            "contentType": "T",
            "displayName": "t",
            "total": "253"
        },
        {
            "contentType": "X",
            "displayName": "x",
            "total": "24,910"
        }
]}