C#中如何将josn数据中的某个字段数据删除

{"Wo":[{"new":"3","trans":"r"}],"Ma":[{"s":"04743c9a831e48d3a7196083855bafc4","conten... {"Wo":[{"new":"3","trans":"r"}],"Ma":
[{"s":"04743c9a831e48d3a7196083855bafc4","content":""},
{"s":"cca508bcf12a46e19109c28641c334e6","content":""},
{"s":"09f6fc80ef00437fba5a0c26eb077da3","content":""},
{"s":"a5158d2a8edc4e8f9d8604bee7c4b46f","content":""},
{"s":"0222f32acef846458d3282840a4f82b3","content":""}],"ST":
[{"a":"04743c9a831e48d3a7196083855bafc4","Content":"1"},
{"a":"cca508bcf12a46e19109c28641c334e6","Content":"2"},
{"a":"09f6fc80ef00437fba5a0c26eb077da3","Content":"3"},
{"a":"a5158d2a8edc4e8f9d8604bee7c4b46f","Content":"4"},
{"a":"0222f32acef846458d3282840a4f82b3","Content":"5"}]}
这是一段json数据我如何将里面ST的数据删除,谢谢,急用
展开
 我来答
百度网友e1abcca7
2013-03-26 · TA获得超过162个赞
知道小有建树答主
回答量:372
采纳率:100%
帮助的人:202万
展开全部
var test={
"Wo":[
{
"new":"3",
"trans":"r"
}
],
"Ma":[
{
"s":"04743c9a831e48d3a7196083855bafc4",
"content":""
},
{
"s":"cca508bcf12a46e19109c28641c334e6",
"content":""
},
{
"s":"09f6fc80ef00437fba5a0c26eb077da3",
"content":""
},
{
"s":"a5158d2a8edc4e8f9d8604bee7c4b46f",
"content":""
},
{
"s":"0222f32acef846458d3282840a4f82b3",
"content":""
}
],
"ST":[
{
"a":"04743c9a831e48d3a7196083855bafc4",
"Content":"1"
},
{
"a":"cca508bcf12a46e19109c28641c334e6",
"Content":"2"
},
{
"a":"09f6fc80ef00437fba5a0c26eb077da3",
"Content":"3"
},
{
"a":"a5158d2a8edc4e8f9d8604bee7c4b46f",
"Content":"4"
},
{
"a":"0222f32acef846458d3282840a4f82b3",
"Content":"5"
}
]
}
delete test.ST;
追问
delete test.ST; 这句话什么意思?是在C#中写的吗?
追答
这个当然是js里面的啊
本回答被提问者采纳
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
匿名用户
2013-03-26
展开全部
你能把你的实体类贴出来么?
我看下。
叫你发邮件你也没有发。
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
收起 1条折叠回答
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式