Way to Consume Json request as Json object in Jersey Rest Service

后端 未结 3 679
离开以前
离开以前 2021-01-17 05:22

Hi I tried googling around but cannot find solution that I want to achieve.

Example to map json to java object we do

 @POST
 @Consumes(application/j         


        
3条回答
  •  隐瞒了意图╮
    2021-01-17 06:22

    What is the web.xml configuration you are using? Is it something similar to here web.xml setup gists for Jersey1 and Jackson2?

提交回复
热议问题