RE: JSON in CXF

2009-07-30 Thread Sergey Beryozkin
uot;bar"]} > > Seems like the JSON is generated via JAXB and an XMLStreamWriter, which > unfortunately is too limited to provide real control over the JSON. > > Thanks, > Gary > > -Original Message- > From: Sergey Beryozkin [mailto:sbery...@progress.com] > Sent

RE: JSON in CXF

2009-04-07 Thread Tong, Gary (IDEAS)
everything. Not sure how much code can be expected from a GSoC student. Cheers, Gary -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 07 April 2009 14:49 To: dev@cxf.apache.org Subject: Re: JSON in CXF Hi I'm not actually sure. What would be the scope of s

Re: JSON in CXF

2009-04-07 Thread Sergey Beryozkin
tison gets actually utilized... If yes - then I'm not sure it would qualify ? Would you define the scope differently ? cheers, Sergey - Original Message - From: "Tong, Gary (IDEAS)" To: Sent: Tuesday, April 07, 2009 2:21 PM Subject: RE: JSON in CXF Would you want to give

RE: JSON in CXF

2009-04-07 Thread Tong, Gary (IDEAS)
Would you want to give this to someone from GSoC? This could actually be a pretty sweet project. -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 07 April 2009 12:14 To: dev@cxf.apache.org Subject: Re: JSON in CXF Hi Gary > If you give me until next w

Re: JSON in CXF

2009-04-07 Thread Sergey Beryozkin
ssage - From: "Tong, Gary (IDEAS)" To: Sent: Tuesday, April 07, 2009 8:53 AM Subject: RE: JSON in CXF Hi Sergey, If you give me until next week I should be able to package something together and send it to you. Alternatively, this would be a great project for GSoC, if it's no

RE: JSON in CXF

2009-04-07 Thread Tong, Gary (IDEAS)
ginal Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 06 April 2009 12:01 To: dev@cxf.apache.org Subject: Re: JSON in CXF Hi Gary >> >> I ended up writing my own converter for JSON that uses its own >> annotations seperate from JAXB. It's a pretty q

Re: JSON in CXF

2009-04-06 Thread Sergey Beryozkin
Hi Gary I ended up writing my own converter for JSON that uses its own annotations seperate from JAXB. It's a pretty quick implementation, and only does what I need it to do. It depends on the JSON objects from json.org, which are also included in Jettison under a different package. The annot

Re: JSON in CXF

2009-02-26 Thread Sergey Beryozkin
-- Original Message - From: "Gary Tong" To: Sent: Thursday, February 26, 2009 12:47 AM Subject: Re: JSON in CXF Hi Sergey, Sorry it too so long to reply to this. I ended up writing my own converter for JSON that uses its own annotations seperate from JAXB. It's a pretty

Re: JSON in CXF

2009-02-25 Thread Gary Tong
t level in putting something like this into CXF? Cheers, Gary -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 18 February 2009 15:15 To: Sergey Beryozkin; dev@cxf.apache.org Subject: Re: JSON in CXF Hi Gary > >> 2) Are you guys interested in replac

Re: JSON in CXF

2009-02-21 Thread Sergey Beryozkin
Just FYI : http://jira.codehaus.org/browse/JETTISON-65 Hopefully it will be fixed in Jettison eventually though it's difficult to predict when. As I said we can discuss the option of shipping a non-JAXB based JSON provider but I reckon it is also worth enhancing the Jettison when possible - so if

Re: JSON in CXF

2009-02-18 Thread Sergey Beryozkin
Hi Gary 2) Are you guys interested in replacing the existing JSON provider, or making an alternative one available that allows a bit more control over how the JSON is rendered? I'd happy to consider replacing the existing one with a better quality one if it were JAXB driven as a number of use

Re: JSON in CXF

2009-02-10 Thread Sergey Beryozkin
which such a new provider might bring in. Thanks, Sergey - Original Message - From: "Tong, Gary (FID)" To: Sent: Tuesday, February 10, 2009 3:08 PM Subject: RE: JSON in CXF Hi Guys, Thanks for the quick responses. Here's an example of what I'm talking about. Let&

RE: JSON in CXF

2009-02-10 Thread Tong, Gary (FID)
e JSON is rendered? Thanks, Gary -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 10 February 2009 13:23 To: Sergey Beryozkin; dev@cxf.apache.org Subject: Re: JSON in CXF I think going with ContextResolver may be a workable workaround, but I'd like to

Re: JSON in CXF

2009-02-10 Thread Sergey Beryozkin
- Original Message - From: "Tong, Gary (FID)" To: Sent: Tuesday, February 10, 2009 11:24 AM Subject: RE: JSON in CXF I think it's a limitation of the underlying JSON library. Something like: @XmlRootElement public class Foo { @XmlElementWrapper(name="

Re: JSON in CXF

2009-02-10 Thread Sergey Beryozkin
ed to provide real control over the JSON. Thanks, Gary -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 10 February 2009 10:48 To: dev@cxf.apache.org Subject: Re: JSON in CXF Hi Gary JSON via JAXB definitely leaves something to be desired. Do you reckon

RE: JSON in CXF

2009-02-10 Thread Tong, Gary (FID)
rol over the JSON. Thanks, Gary -Original Message- From: Sergey Beryozkin [mailto:sbery...@progress.com] Sent: 10 February 2009 10:48 To: dev@cxf.apache.org Subject: Re: JSON in CXF Hi Gary > JSON via JAXB definitely leaves something to be desired. Do you reckon it's the limitations

Re: JSON in CXF

2009-02-10 Thread Sergey Beryozkin
Hi Gary JSON via JAXB definitely leaves something to be desired. Do you reckon it's the limitations of the underlying JSON library that we use (Jettison) or do you refer to the insufficient number of hooks for our JSON JAXRS reader/writer whiich would help in producing a better quality JSON ?