我有JSON如下字符串
[{
"attachments": [{ "comment": "communication", "comment_date_time": "2035826"} ],
"spent_hours": "4.00",
"description": ""
},
{
"attachments": [],
"spent_hours": "4.00",
"description": ""
}]
Run Code Online (Sandbox Code Playgroud)
如何使用C#attachments从JSON字符串中删除属性.我正在使用JSON.net.