下面的JSON如何生成C#类
{
"success": true,
"resultMessage": "",
"resultCode": null,
"result": {
"385620": [
{
"id": 4680760,
"skuId": 385620,
"path": "380/f8f1be5f-4e4e-439b-9fb4-d4ebf2dfb39d.jpg",
"created": "2011-07-26 16:54:25",
"modified": "2011-07-26 16:54:25",
"yn": 1,
"isPrimary": 0,
"orderSort": 0,
"position": null,
"type": null,
"features": null
},
{
"id": 4680759,
"skuId": 385620,
"path": "3150/f96166cb-8686-40fe-b8c7-14c82132940f.jpg",
"created": "2011-07-26 16:54:25",
"modified": "2011-07-26 16:54:25",
"yn": 1,
"isPrimary": 0,
"orderSort": 1,
"position": null,
"type": null,
"features": null
},
{
"id": 4680756,
"skuId": 385620,
"path": "1896/43e31383-d821-4cdf-b487-09df9e557783.jpg",
"created": "2011-07-26 16:54:25",
"modified": "2011-07-26 16:54:25",
"yn": 1,
"isPrimary": 1,
"orderSort": 2,
"position": null,
"type": null,
"features": null
},
{
"id": 4680758,
"skuId": 385620,
"path": "2872/fe2c8c2c-6fd0-4759-8b56-8c76049949b3.jpg",
"created": "2011-07-26 16:54:25",
"modified": "2011-07-26 16:54:25",
"yn": 1,
"isPrimary": 0,
"orderSort": 3,
"position": null,
"type": null,
"features": null
},
{
"id": 4680757,
"skuId": 385620,
"path": "2593/1b8a7654-7d3f-400f-9d39-d496152db839.jpg",
"created": "2011-07-26 16:54:25",
"modified": "2011-07-26 16:54:25",
"yn": 1,
"isPrimary": 0,
"orderSort": 4,
"position": null,
"type": null,
"features": null
}
],
"937433": [
{
"id": 4023269,
"skuId": 937433,
"path": "g13/M08/08/01/rBEhVFIbHb8IAAAAAAFmGihDzWIAACdugO9ws8AAWYy662.jpg",
"created": "2013-08-26 17:20:01",
"modified": "2014-07-24 19:51:54",
"yn": 1,
"isPrimary": 1,
"orderSort": 0,
"position": null,
"type": null,
"features": null
},
{
"id": 4023267,
"skuId": 937433,
"path": "g13/M08/08/01/rBEhUlIbHb8IAAAAAADxJRUowG4AACdugPFn48AAPE9061.jpg",
"created": "2013-08-26 17:20:01",
"modified": "2013-08-26 17:20:01",
"yn": 1,
"isPrimary": 0,
"orderSort": 1,
"position": null,
"type": null,
"features": null
},
{
"id": 4023268,
"skuId": 937433,
"path": "g13/M08/08/01/rBEhUlIbHcAIAAAAAAHc-V7em8kAACdugPogkcAAd0R400.jpg",
"created": "2013-08-26 17:20:01",
"modified": "2013-08-26 17:20:01",
"yn": 1,
"isPrimary": 0,
"orderSort": 2,
"position": null,
"type": null,
"features": null
},
{
"id": 4023266,
"skuId": 937433,
"path": "g13/M07/08/01/rBEhVFIbHcAIAAAAAAL_uibLmwIAACduwAUxlIAAv_S112.jpg",
"created": "2013-08-26 17:20:01",
"modified": "2013-08-26 17:20:01",
"yn": 1,
"isPrimary": 0,
"orderSort": 3,
"position": null,
"type": null,
"features": null
}
]
}
}
...全文
相关推荐
JSON和C#类代码互相转换工具
将JSON字符串转换为c#代码,也可将c#简单的类代码转换为JSON字符串,有源码,欢迎大家一起完善
C#的json数据格式转化
C#的json数据转换, 转换对象为JSON格式数据,
C# DataTable json
C# Datatable生成json 生成的json EasyUI可用
c#下post multipart/form-data和JSON
c#下post 发送 multipart/form-data和JSON数据
C#简单快速的json组件fastJSON使用介绍
JSON数据格式简洁,用于数据的持久化和对象传输很实用。最近在做一个Razor代码生成器,需要把数据库的表和列的信息修改后保存下来,想到用JSON序列化对象并保存,需要时再反序列化成对象会简单一些


