tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Goldsmith <sgj...@gmail.com>
Subject Re: Johnzon - bugs or features?
Date Wed, 01 Jun 2016 14:50:03 GMT
I had the nested object issue you had in some of the early Johnzon versions
included with TomEE. But it was only collections in the nested object that
would not deserialize. I ended up using 0.9.4-incubating-SNAPSHOT.

On Wed, Jun 1, 2016 at 6:33 AM, tam <tam@tamatzner.de> wrote:

> Still confused. I want to map java POJOs 1-1 to JSON, and in fact I've been
> doing it all the time. (I learned all that stuff a while ago using
> Jackson.)
> Looking at Jackson's docs on
> http://wiki.fasterxml.com/JacksonJAXBAnnotations and Genson's on
> https://owlike.github.io/genson/, they both claim to use JAXB annotations.
> So if Johnzon works like those, why would it ignore the annotations?
>
> Anyway, it's sort of running now, but the problems I described are still
> present: No nested objects, and endless fiddling around before it actually
> serialized. Don't ask me what I did wrong, but around 50 times it just gave
> me lists of empty objects like [{}, {}, {}...]. (But the right number of
> objects, so at least it recognized them.)
>
> BTW I didn't want to hurt anyone's feelings. It's just when I see in the
> Maven Repository that something is announced as incubating and alpha, and
> documentation is sparse, I get the message that it's not finished yet. I'd
> also prefer to belong to the happy crowd who's using it without problems;
> I'm just lacking information to get happy too.
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/Johnzon-bugs-or-features-tp4678708p4678716.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>



-- 
Steven P. Goldsmith

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message