var content = JObject.Parse(responce)["data"].Children<JProperty>().FirstOrDefault(x=>x.Name=="asks").Value;
然后,我想把这个JToken转换成这个对象,但是我不知道怎么转换
public class PriceValue
public string Price { get; set; }
public string Value { get; set; }
public List<PriceValue> Sell { get; set; }
public List<PriceValue> Buy { get; set; }
var json = File.ReadAllText(filepath);
var jObject = JObject.Parse(json);
var bids = JArray.Parse(jObject["bids"].ToString());
var Sell = bids.Select(x =>
new PriceValue
Price = x[0].ToString(),
Value = x[1].ToString()
.ToList();
var asks = JArray.Parse(jObject["asks"].ToString());
var Buy = asks.Select(x =>