Hi,
I need help with Dynamic deeply nested Objects mapping , below is my example, the nesting can go very deep as the level attribute indicates.
"sections" [
{
"level" : "1",
"text" : "",
"title" : "",
"sections" : []
},
{
"level" : "2",
"text" : "",
"title" : "",
"sections" : []
},
{
"level" : "3",
"text" : "",
"title" : "",
"sections" : [
{
"level" : "3.1",
"text" : "",
"title" : "",
"sections" : [
{
"level" : "3.1.1",
"text" : "",
"title" : "",
"sections":[]
}
]
},
{
"level" : "3.2",
"text" : "",
"title" : "",
"sections" : [
{
"level" : "3.2.1",
"text" : "",
"title" : "",
"sections":[
{
"level" : "3.2.1.1",
"text" : "",
"title" : "",
}
]
}
]
}
]
},
]