您好我想從JSON爲另一種格式像below.My JSON格式轉換爲類似下面 我嘗試使用Json.Net plugin.but找不到解決如何JSON格式轉換爲另一種格式
[
{
"bundleKey": "title",
"bundleValue": "Manage cost code",
},
{
"bundleKey": "name",
"bundleValue": "steve",
}]
想在下面的格式轉換
[{"title":"Manage cost code"},{"name":"steve"}]
我嘗試使用下面的鏈接
JSON Serialize List<KeyValuePair<string, object>>
的輸入是無效的JSON。有尾隨逗號。 – 2014-03-12 13:37:05