小编Ira*_*ppa的帖子

如何使用C#从JSON字符串中删除特定属性

我有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#attachmentsJSON字符串中删除属性.我正在使用JSON.net.

c# json

7
推荐指数
1
解决办法
7756
查看次数

标签 统计

c# ×1

json ×1