1
我有一個josn名爲 「更新」,它有一個嵌入列表 「意見」 是這樣的:如何從嵌入列表中刪除項目?
{
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"?