RESTEasy client: reconstructing an object

前端 未结 1 997
说谎
说谎 2021-01-19 15:02

I\'m playing with RESTEasy to consume REST services, and I\'m trying it out with Twitter\'s search API.

So I create this interface:

public interface          


        
1条回答
  •  一生所求
    2021-01-19 15:21

    You need to make sure you include a RESTEasy provider that can unmarshal JSON responses. There's a one based on the Jackson parser library that you can use, it's described in the docs here.

    0 讨论(0)
提交回复
热议问题