I need to build the server side of a JSON-REST API, and I've been playing with Jersey to do it (using it's JSON-POJO mapping feature).
The problem is that even testing the simplest possible use-case has required several questions here on SO, and quite a bit of hunting around. In short, it's not a very fluid API in the style of, say, JSoup, it appears to be a tool that comes from the era where everything was XML, and then it was retrofitted for JSON.
You can see this, for example, in the requirement that POJO objects need to be annotated with @XmlRootElement even though nothing I am doing involves XML.
I'm wondering if there are other libraries, perhaps more recent, that I should consider for this that might be easier to use than Jersey?