101companies / 101simplejava

A set of 101companies contributions that are easy to build, run, and test
2 stars 7 forks source link

Jersey (JSON) variation on GSON contribution #55

Closed rlaemmel closed 10 years ago

rlaemmel commented 10 years ago

Consider again the 2nd contribution of #54

It looks like that such JSON to object mapping would also be achievable with the pretty-much standard Jersey technology.

https://jersey.java.net/documentation/1.18/json.html

See an example (outside 101companies) of using Jersey here:

https://github.com/dmies/restExample/tree/master/src/main/java/com/oneandone/simpleRestClient

mpaul138 commented 10 years ago

Jersey is based on Jackson Json API. It even reference to the Jackson documentation, it is Jackson with a bit of RESTApi Overhead. So I think working with Jackson directly would be better then using Jersey with its Overhead.

mpaul138 commented 10 years ago

Contributed three Jackson contributions.