Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

I want to parse/Deserilize JSon response

$
0
0

I want to parse/Deserilize the JSOn respones in C# provided by a web service .

below is my JSOn response.

{
"class1" : {
    "Field1" : "",
    "Field2" : "",
    "Field3" : ""
},
"class2" : {
    "class3" : {
        "class4" : [
        {
            "element1" : {
                "field1" : "no",
                "field2" : "",
                "field3" : "",
                "field4" : ""
            },
            "element2" : {
                "field1" : "no",
                "field2" : ""
            },
            "element3" : {
                "field1" : "no",
                "field2" : "",
                "field3" : ""
            },
            "element4" : {
                "field1" : "yes",
                "field2" : "Value2",
                "field3" : "Value3",
                "field4" : "",
                "field5" : "field5",
                "field6" : "Value6",
                "field7" : "Value7",
                "field8" : "Value8",
                "field9" : "",
                "field10" : ""
            }
        }
        ]
    },
    "class5" : {
        "element1" : {
            "field1" : "0"
        },
        "element2" : {
            "field1" : "0"
        },
        "element3" : {
            "field1" : "0"
        },
        "element4" : {
            "field1" : "0"
        },
        "element5" : {
            "field1" : "0"
        },
        "element6" : {
            "field1" : "-1"
        },
        "element7" : {
            "field1" : "0"
        }
    }
}
}

Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>