我有一个名为“update”的 josn,它有一个嵌入式列表“comments”,如下所示:
{
id: "update/0",
//comments contains elements with type:comment
comments: [{
id:"comment/0"
children:[{
id:"comment/00",
children[...]
}]
}]
}
问题是:
1, How to remove an item from update's field:comments by ids "update/0" and
"comment/0"?
2, How to remove an item from comment's field:children by ids "update/0","
comment/0" and "comment/00"?