it is configurable in jackson (like in johnzon actually): http://wiki.fasterxml.com/JacksonAnnotationSerializeNulls
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> 2015-03-24 17:58 GMT+01:00 bibhas <[email protected]>: > Jonathan Gallimore-2 wrote > > One quick suggestion I have is that you might want to see if a different > > provider solves your problem. > > I eventually chose to do the same. First I tried the Jackson provider. This > has its own problem (it serializes null values as JSON null which causes > unnecessary problems in iOS Objective-C). So, finally I went with a Gson > provider (https://gist.github.com/nicksen/7335295). This is working great > so > far and I like Gson in general. > > > > -- > View this message in context: > http://tomee-openejb.979440.n4.nabble.com/JSONProvider-single-length-array-tp4674152p4674162.html > Sent from the TomEE Users mailing list archive at Nabble.com. >
