110,538
社区成员
发帖
与我相关
我的任务
分享
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
string k = "{\"test1\":0,\"test2\":\"This is a test\"}";
Dictionary<string, object> d = fastJSON.JSON.ToObject<Dictionary<string, object>>(k);
foreach (var item in d)
{
Console.WriteLine(item.Key + "->" + item.Value);
}
}
}
}