Re: TomEE 2.0.0-SNAPSHOT JAX-RS JSON Serialization

2015-05-05 Thread Romain Manni-Bucau
hi by default you get JohnzonProvider (should be the first one in your list, not sure why you dont have it). It is the one handling json mapping for JAX-RS Romain Manni-Bucau @rmannibucau https://twitter.com/rmannibucau | Blog http://rmannibucau.wordpress.com | Github

TomEE 2.0.0-SNAPSHOT JAX-RS JSON Serialization

2015-05-05 Thread jieryn
I am trying out tomee-embedded-m-p:2.0.0-SNAPSHOT to get past a couple of 1.7.1 issues. I can successfully get TomEE to serve up my JAX-RS resources, but by default it seems to only want to serialize as XML. How can I additionally get JSON? During start up I see: [INFO] Using providers: [INFO]