【发布时间】:2012-11-10 18:26:13
【问题描述】:
我有:
[
{
"account": "max",
"address": "1DjA7XoVkB8bKRzcf5oW2MFtyN92u3ssEu",
"category": "receive",
"amount": 0.1,
"confirmations": 290,
"blockhash": "000000000000040f883801bd432ae638258dd852e124f8db349a9a6afc0bd4
df",
"blockindex": 139,
"blocktime": 1352407188,
"txid": "cee56f0aa97f9200e7fcb220861098bd74419cf5427e81b02870cb9baf063560",
"time": 1352407188,
"timereceived": 1352550395
}
]
获取 txid 值的最快方法是什么?我已经尝试了几个小时的组合。
编辑:它是一个 JArray C# 对象,如下所示:
o = new JArray(o.First);
return o["txid"];
返回错误
【问题讨论】:
-
是字符串还是javascript对象?
-
什么组合?什么没用?你到底被什么困住了?
-
像其他人一样将其解析为对象并获取价值?
标签: c# json parsing console json.net