Check this tutorial: http://xstream.codehaus.org/json-tutorial.html

cheers,
Bruno Borges
blog.brunoborges.com.br
+55 21 76727099

"The glory of great men should always be
measured by the means they have used to
acquire it."
- Francois de La Rochefoucauld


On Fri, Nov 7, 2008 at 4:50 AM, francisco treacy <[EMAIL PROTECTED]
> wrote:

> xstream supports json output
>
> * Alternative output format. The modular design allows other output
> formats. XStream ships currently with JSON support and morphing.
>
> francisco
>
> On Fri, Nov 7, 2008 at 11:34 AM, Steve Swinsburg
> <[EMAIL PROTECTED]> wrote:
> > Still slightly on topic, but do you know of a fast and efficient way to
> > output JSON (some library like XStream perhaps) in the same method,
> rather
> > than XML?
> >
> >
> > cheers,
> > Steve
> >
> >
> >
> >
> >
> >
> > On 7 Nov 2008, at 04:05, Ned Collyer wrote:
> >
> >>
> >> As you probably are aware - this is just outputting XML using XStream.
> >> This is a one way data feed.
> >>
> >> I'm using XStream - but chose a different tech for our REST components
> >> because wicket is not RESTy.
> >>
> >> I'd be interested if you can make this 2 way web service, and support
> >> POST,
> >> GET, PUT and DELETE.  Good luck :)
> >>
> >>
> >>
> >> Bruno Borges wrote:
> >>>
> >>> I've posted on my blog about how to create quickly and simple RESTful
> >>> WebServices with Apache Wicket, using XStream to marshall XML from java
> >>> Objects.
> >>>
> >>> Take a look!
> >>>
> >>>
> >>>
> http://blog.brunoborges.com.br/2008/11/restful-web-services-with-wicket.html
> >>>
> >>
> >> --
> >> View this message in context:
> >>
> http://www.nabble.com/RESTful-Web-Services-with-Wicket-%28and-XStream%29-tp20370109p20374470.html
> >> Sent from the Wicket - User mailing list archive at Nabble.com.
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to