[Lift] Re: XML - JSON converter?

2009-09-25 Thread David Pollak
On Fri, Sep 25, 2009 at 1:21 AM, Timothy Perrett timo...@getintheloop.euwrote: Are there any plans to supersede the JsObj stuff with what is in lift- json ? Seems like that would make a lot more sense, no? Yes. Cheers, Tim On 24 Sep 2009, at 22:13, Indrajit Raychaudhuri wrote:

[Lift] Re: XML - JSON converter?

2009-09-25 Thread Timothy Perrett
Sorry Dave, but the brevity of your reply left me somewhat confused... yes it makes sense to do that or yes, we'll be replacing everything with lift-json ? Cheers, Tim On 25 Sep 2009, at 14:07, David Pollak wrote: On Fri, Sep 25, 2009 at 1:21 AM, Timothy Perrett timo...@getintheloop.eu

[Lift] Re: XML - JSON converter?

2009-09-25 Thread David Pollak
On Fri, Sep 25, 2009 at 6:19 AM, Timothy Perrett timo...@getintheloop.euwrote: Sorry Dave, but the brevity of your reply left me somewhat confused... yes it makes sense to do that or yes, we'll be replacing everything with lift-json ? Eventually, we'll be integrating all of lift-json into

[Lift] Re: XML - JSON converter?

2009-09-25 Thread Thomas Rampelberg
This is really great, making XML as easy to generate as JSON was something I thought I'd never see. On Fri, Sep 25, 2009 at 7:27 AM, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Sep 25, 2009 at 6:19 AM, Timothy Perrett timo...@getintheloop.eu wrote: Sorry Dave, but the brevity

[Lift] Re: XML - JSON converter?

2009-09-24 Thread Joni Freeman
Hi, There is now improved XML support in lift master. See a short section in README: http://github.com/dpp/liftweb/tree/master/lift-json/ and some executable examples: http://github.com/dpp/liftweb/blob/master/lift-json/src/test/scala/net/liftweb/json/XmlExamples.scala Cheers Joni On Sep 2,

[Lift] Re: XML - JSON converter?

2009-09-24 Thread Timothy Perrett
Nice stuff Joni! Cheers, Tim On 24 Sep 2009, at 08:24, Joni Freeman wrote: Hi, There is now improved XML support in lift master. See a short section in README: http://github.com/dpp/liftweb/tree/master/lift-json/ and some executable examples:

[Lift] Re: XML - JSON converter?

2009-09-24 Thread David Pollak
On Thu, Sep 24, 2009 at 2:04 AM, Timothy Perrett timo...@getintheloop.euwrote: Nice stuff Joni! +1 Cheers, Tim On 24 Sep 2009, at 08:24, Joni Freeman wrote: Hi, There is now improved XML support in lift master. See a short section in README:

[Lift] Re: XML - JSON converter?

2009-09-24 Thread harryh
This is really really great. Will totally help me out a lot. Thanks! -harryh On Sep 24, 3:24 am, Joni Freeman freeman.j...@gmail.com wrote: Hi, There is now improved XML support in lift master. See a short section in README:http://github.com/dpp/liftweb/tree/master/lift-json/ and some

[Lift] Re: XML - JSON converter?

2009-09-24 Thread Indrajit Raychaudhuri
On 24/09/09 2:34 PM, Timothy Perrett wrote: Nice stuff Joni! Indeed. That this module gets lots of love shows. Everything nice and tidy in a neat little package. Did I mention that it's test cases serve as docs too? /Indrajit Cheers, Tim On 24 Sep 2009, at 08:24, Joni Freeman wrote:

[Lift] Re: XML - JSON converter?

2009-09-03 Thread David Pollak
Nothing that I know of but maybe Joni could add it to the new json parse On Wednesday, September 2, 2009, harryh har...@gmail.com wrote: Is there anything built into lift that will do XML - JSON conversion?  For example: foos  foo    id1/id    nameHarry/name  /foo  foo    id2/id

[Lift] Re: XML - JSON converter?

2009-09-03 Thread Joni Freeman
Ok, added. This is a quick hack just to explore the problem so expect bugs, holes in logic and such. Example usage: http://github.com/dpp/liftweb/blob/f974b41c56afa500e9d93371f0ce21bde3c854ce/lift-json/src/test/scala/net/liftweb/json/XmlExamples.scala Cheers Joni On Sep 3, 2:40 am, David

[Lift] Re: XML - JSON converter?

2009-09-02 Thread Joni Freeman
Hi, I just quickly spiked this and following works on my local branch: scala val xml = foos foo id1/id nameHarry/name /foo foo id2/id nameDavid/name /foo /foos scala val json = toJson(xml) scala compact(render(json))

[Lift] Re: XML - JSON converter?

2009-09-02 Thread David Pollak
Cool... I'd be interested in you pushing this to master and letting people use it and give feedback. On Wed, Sep 2, 2009 at 2:40 PM, Joni Freeman freeman.j...@gmail.com wrote: Hi, I just quickly spiked this and following works on my local branch: scala val xml = foos foo