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
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.