json 转换C# class(用于对接api
2024-10-19 17:32:35
//说明
//使用场景:对接api,返回json结果,直接转换C# class
//如何使用:复制下面js代码在浏览器控制台执行
` "order_item_id": "28504637",
"item_id": "3695819",
"item_title": "小茵熊物料包 测试链接勿拍",
"current_price": "999.00",
"item_tax_fee": "0.00",
"sku_id": null,
"sku_name": "",
"num": "1",
"message": null,
"status": "0",
"delivery_supplier_id": "0",
"supplier_express": null,
"supplier_express_no": null,
"supplier_post_fee": null,
"supplier_cost_price": "0.00",
"deposit_money": null,
"item_cycle_buy_id": null,
"goods_no": "",
"item_url": "http://x?sid=0&detailId=3695819",
"item_img": "http://x.png",
"good_status": "",
"complain_order_id": ""`.replace(/"/g,'').split(',').map(x=>'public string '+ x.split(':')[0].replace(/[\r,\n]/g,'') +'{get;set;}').join('\n')
最新文章
- python之字符聊天小工具
- 黄聪:360浏览器、Chrome调试(debugger)JS总是进入paused in debugger状态
- iOS常见的设计模式
- Oracle高级查询,事物,过程及函数
- js 推断 当页面无法回退时(history.go(-1)),关闭网页
- Spring+SpringMVC+MyBatis+easyUI整合进阶篇(十一)redis密码设置、安全设置
- Struts2报错org.apache.jasper.JasperException: Invalid directive原因
- Jmeter接口测试操作
- 2019春第六周作业Compile Summarize
- μC/OS-II 任务的同步与通信 --- 消息邮箱
- cookie实现刷新不变化树形菜单
- codeblocks 支持多个exe同时执行
- 【emWin】例程十五:触摸校准实例——五点校准法
- static与非static的区别
- Oracle Grid control 11g及Active DataGuard 11g安装部署
- sphinx文档
- Mockplus推出真正无限制终身版,做原型就要一辈子!
- SSH secure 连接centos7乱码
- kettle init oracle jdbc
- [Codeforces86D]Powerful array(莫队算法)