I am new to JSON.In my asp.net application i want to parse the json string.So, i have used Newtonsoft.Json package for reading and writing json data.Now, i can able to parse
foreach (var data in dynObj.quizlist)
{
foreach (var data1 in data.QUIZ.QPROP)
{
Response.Write("Name" + ":" + data1.name + "
");
Response.Write("Intro" + ":" + data1.intro + "
");
Response.Write("Timeopen" + ":" + data1.timeopen + "
");
Response.Write("Timeclose" + ":" + data1.timeclose + "
");
Response.Write("Timelimit" + ":" + data1.timelimit + "
");
Response.Write("Noofques" + ":" + data1.noofques + "
");
foreach (var queprop in data1.QUESTION.QUEPROP)
{
Response.Write("Questiontext" + ":" + queprop.questiontext + "
");
Response.Write("Mark" + ":" + queprop.mark + "
");
}
}
}