[Lift] Re: Typesafe JSON builder?

2009-07-10 Thread DFectuoso
I've read some stuff about Jorge Ortiz's Json Parser and how its super type safe, i guess you could use that same logic to create your builder (and I would not be surprised if theres something like that laying around in Lift). I hope if there is, someone will point you in the right direction, all

[Lift] Re: Typesafe JSON builder?

2009-07-10 Thread marius d.
Please take a look on JsObj. But what is your exact use case? ... generate JSON constructs from Scala and send then to browser? Br's, Marius On Jul 9, 8:35 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Hi, Has anyone made a typesafe JSON builder? Many Javascript libraries provides

[Lift] Re: Typesafe JSON builder?

2009-07-10 Thread Jeppe Nejsum Madsen
marius d. marius.dan...@gmail.com writes: Please take a look on JsObj. That's what I'm using now and it's a pain: def generateOptions = JsObj( (title, My title), (series, JsArray(JsObj((Label,MyLabel, (seriesColors, JsArray(#00,#cc)), (axes, JsObj(

[Lift] Re: Typesafe JSON builder?

2009-07-10 Thread Timothy Perrett
Perhaps consider this other scala JSON lib: http://github.com/jonifreeman/literaljson/tree/master NB: I've not used this, im just adding it for discussion as it might help you. Cheers, Tim On Jul 10, 9:44 am, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: marius d. marius.dan...@gmail.com

[Lift] Re: Typesafe JSON builder?

2009-07-10 Thread David Pollak
On Fri, Jul 10, 2009 at 1:44 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: marius d. marius.dan...@gmail.com writes: Please take a look on JsObj. That's what I'm using now and it's a pain: def generateOptions = JsObj( (title, My title), (series,

[Lift] Re: Typesafe JSON builder?

2009-07-10 Thread marius d.
On Jul 10, 6:32 pm, David Pollak feeder.of.the.be...@gmail.com wrote: On Fri, Jul 10, 2009 at 1:44 AM, Jeppe Nejsum Madsen je...@ingolfs.dkwrote: marius d. marius.dan...@gmail.com writes: Please take a look on JsObj. That's what I'm using now and it's a pain: def