Spring boot 使用@RequestParam查询嵌套的json对象

Spring boot 使用@RequestParam查询嵌套的json对象,spring-boot,api,url,Spring Boot,Api,Url,我计划使用@requestparam查询嵌套的json对象 基本上,我计划提供Api中的所有细节 Json数据:- {"data": {"stuff": {"onetype":[ {"id":1,"name": ""}, {"id":2,"name": "&

我计划使用@requestparam查询嵌套的json对象

基本上,我计划提供Api中的所有细节

Json数据:-

{"data":
    {"stuff":
        {"onetype":[
            {"id":1,"name": ""},
            {"id":2,"name": ""}
        ]}
        {"othertype":[
            {"id":2,"xyz": [-2,0,2],"n":"Crab Nebula","t":0,"c":0,"d":5}
        ]}
    }
    {"otherstuff":
        {"thing":
            [[1,42],[2,2]]
        }
    }
}
Url将如下所示:

http://localhost:8081/api?select=data.stuff[0].id
我对这个概念完全陌生,所以任何建议都会有帮助