如果您更换
// This takes the current bitcoin price and formats it so there is the correct amount of decimal placesstring story = (string)ja["response"]["results"]["fields"]["body"];
与
// This takes the current bitcoin price and formats it so there is the correct amount of decimal placesstring story = (string)ja["response"]["results"][0]["fields"]["body"];
应该适合您的示例。请注意,在您提供的示例中,结果后面的方括号表示要在访问代码中说明的数组。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)