@RequestParam 怎么获取json数组

json数据中有另一组数据 怎么在@RequestParam

``` @RequestParam(value = "", required = false) String remark,
@RequestParam(value = "result", required = false) Integer status,

在value中应该填什么参数
这是json数据,想获取maintenance中remark
"data": {
        "id": "893361931707142145", 
        "deleted": false, 
        "maintenanceId": "892204287054102529", 
        "workerId": "854362944458219520", 
        "type": "0", 
        "appointmentTime": "1502520240000", 
        "plan": "维修", 
        "expense": "1440.0", 
        "finishTime": "1504853040000", 
        "rating": "满意", 
        "result": "0", 
        "typeName": "首次维修", 
        "maintenance": {
            "id": "892204287054102529", 
            "createdTime": "1501553053000", 
            "deleted": false, 
            "communityId": "877538407917617152", 
            "ownerId": "879384534400905216", 
            "type": "0", 
            "reportMethod": "1", 
            "content": "东侧外墙往内渗水", 
            "status": "4", 
            "availableTime": "周日周六可修", 
            "remark": "", 

http://bbs.csdn.net/topics/391881006?page=1

1、可以直接写个类 这个类作为方法参数 会自动接收 比如你的json 是 {data:{id:1,name:"aaa",cc:{c1:11,c2:22}}} 就写个类 A 属性data data也对应一个类
data有属性 id name cc , cc对应一个类 (属性 c1 c2) 你的那么多属性 自己造一下。

2、可以用String类型接收 用jsonObject转 String str = JSONObject.parseObject(你接到的数据).getString("要查的第一层字段"); 下面用同样的方式层层抽取知道获得你想要的