cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin" <>
Subject RE: Possible alternative source of JSON
Date Sun, 06 Sep 2009 22:11:22 GMT
Users can easily wrap Jackson if they prefer. We can add a property to
existing providers which will allow for namespaces be dropped altogether
during the serialization if users prefer to parse JSON manually. 

Cheers, Sergey

-----Original Message-----
From: Benson Margulies [] 
Sent: 05 September 2009 22:40
To: CXF Dev
Subject: Possible alternative source of JSON

It looks to me as if a Jackson 'provider' would be a pretty
construction. To be clear, there's be no CXF DataBinding in the process
all. Jackson maps pojos to JSON and vica versa.

The plus side of this is that it would yield, if successful, 'natural'
unencrusted with namespace glop, in both directions.

The minus side of this would be that it doesn't help those people who
want a
JSON JAX-RS endpoint as a sort of instant side-effect of their
stack of JAXB @nnotations or Aegis XML files or whatever.

Personally, I think that I'd be coding something a whole lot more useful
adding this than by putting more lipstick on the pig of producing and
consuming extremely ugly JSON via Aegis.

Admittedly, 'unqualified' Aegis would be helpful, but if Jackson already
does the job, why do all that work?

Not to mention the fact that Tatu is likely to prove responsive in case

View raw message