【发布时间】:2017-03-08 07:45:33
【问题描述】:
我有这个类似 JSON 的字符串。
{
"62": {
"unit_id": "431",
"staff_id": "444",
"ext_id": "0",
"barcode": "1",
"currency": "EUR",
"amount": "163.27",
"status": "Won",
"won": "43.27",
"jackpot": "120.00"
},
"63": {
"unit_id": "432",
"staff_id": "445",
"ext_id": "0",
"barcode": "258765424",
"currency": "EUR",
"amount": "0.00",
"status": "Lost",
"won": "0.00",
"jackpot": "0.00"
}
}
我想将每个属性“62”、“63”序列化为一个模型。
【问题讨论】:
标签: json serialization json.net