I am trying to create a Json, in which a question have value, option and also it contain multiple questions. and these sub questions can also contain multiple sub questions.
here is my Json string
{
"Questions": {
"question": {
"Value": " Quest 1",
"Option": " Quest 1 Option",
"question": {
"Value": " Quest 2",
"Option": " Quest 2 Option"
},
"question": {
"Value": " Quest 3",
"Option": " Quest 3 Option",
"question": {
"Value": " Quest 4",
"Option": " Quest 4 Option",
"question": {
"Value": " Quest 5",
"Option": " Quest 5 Option"
},
"question": {
"Value": " Quest 6",
"Option": " Quest 6 Option"
}
}
}
}
}
}
But when I'm trying to see it in Json Viewer,ques 2 and ques 5 is missing. what I'm doing wrong here ?
Aucun commentaire:
Enregistrer un commentaire