https://java.net/projects/jsonb-spec/pages/Home is the home for jsonb. Note that we don't use it yet in tomee cause it requires java 8 but johnzon mapper is pretty close. In two works it is to map 1-1 with java (property foo will be a foo attribute in json compared to jaxb style mapping which needs at least one wrapper at root level).
This change is not in 7.0.0 cause it is there since several versions ( https://issues.apache.org/jira/browse/TOMEE-1700, https://issues.apache.org/jira/browse/TOMEE-1353) Romain Manni-Bucau @rmannibucau <https://twitter.com/rmannibucau> | Blog <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | LinkedIn <https://www.linkedin.com/in/rmannibucau> | Tomitriber <http://www.tomitribe.com> | JavaEE Factory <https://javaeefactory-rmannibucau.rhcloud.com> 2016-05-31 16:38 GMT+02:00 tam <[email protected]>: > I couldn't find anything concerning this in the release notes > http://tomee.apache.org/tomee-7.0.0-release-notes.html. Anyway, it sounds > interesting. Is there any pointer what to change to make use of that new > way > of JSON mapping? I wasn't a fan of the XmlElement annotations... Googling > for jsonb yields results for a Postgres feature. And documentation of that > Johnzon is virtually non-existent. > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/JsonGenerationException-after-migrating-to-7-0-0-tp4678684p4678696.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
