【发布时间】:2019-05-23 14:12:13
【问题描述】:
我有一个像下面这样的 json。
"bookshelf": {
"shelfId": 5752814017970176,
"shelfName": "Novels",
"description": null,
"bookOrder": "[5720369633689600, 5631072867975168, 5765651641663488, 5685154290860032, 4675571090980864, 4721509306204160]",
"createrType": "TEACHER",
}
我需要将值 bookOrder 读取为长值数组。如何在 C# 中使用 Json.net 来做到这一点?
【问题讨论】:
标签: c# asp.net arrays json json.net