NutzCN Logo
问答 返回的json字段名带句号,如何定义bean
发布于 1928天前 作者 qq_8c799e25 1817 次浏览 复制 上一个帖子 下一个帖子
标签:

第三方的grid组件传入的json字段名带句号,如何定义bean或其它好的方式呢?

var gridData = {
				"form.paginate.pageNo": 1,
				"form.paginate.totalRows": 13,
				"rows": [{
						"id": 5418,
						"Name": "河北定州上不去连锁店",
						"Money": "¥1000",
						"payment_method": "招行银行",
						"Time": "2017-09-19 09:59",
						"User": "苏三"
				},{
						"id": 5418,
						"Name": "河北定州上不去连锁店",
						"Money": "¥1000",
						"payment_method": "近点",
						"Time": "2017-09-19 09:59",
						"User": "苏三"
				},{
						"id": 5418,
						"Name": "河北定州上不去连锁店",
						"Money": "¥1000",
						"payment_method": "招行银行",
						"Time": "2017-09-19 09:59",
						"User": "苏三"
				},{
						"id": 5418,
						"Name": "河北定州上不去连锁店",
						"Money": "¥1000",
						"payment_method": "招行银行",
						"Time": "2017-09-19 09:59",
						"User": "苏三"
				},{
						"id": 5418,
						"Name": "河北定州上不去连锁店",
						"Money": "¥1000",
						"payment_method": "微信",
						"Time": "2017-09-19 09:59",
						"User": "苏三"
				},{
						"id": 5418,
						"Name": "河北定州上不去连锁店",
						"Money": "¥1000",
						"payment_method": "招行银行",
						"Time": "2017-09-19 09:59",
						"User": "苏三"
				}
				]
			}
3 回复

NutMap 取,分页数据又不是数据对象

@JsonField嘛

添加回复
请先登陆
回到顶部