[Lift] Re: Record and JSON

2009-03-07 Thread Derek Chen-Becker
Fair enough :) On Sat, Mar 7, 2009 at 2:16 PM, David Pollak wrote: > Scala's JSON parser sits on top of some of Scala's parsing problems > including recursive stuff that causes the parser to run out of stack when > there are too many of certain kinds of elements. > Even though you maintain Scala'

[Lift] Re: Record and JSON

2009-03-07 Thread David Pollak
Scala's JSON parser sits on top of some of Scala's parsing problems including recursive stuff that causes the parser to run out of stack when there are too many of certain kinds of elements. Even though you maintain Scala's JSON and can fix problems when they come up, we also have to wait for the S

[Lift] Re: Record and JSON

2009-03-07 Thread Derek Chen-Becker
As long as we're talking about parsers for JSON, is there some problem or something missing from the Scala library's JSON parser that keeps us from using that in Lift? http://www.scala-lang.org/docu/files/api/scala/util/parsing/json/JSON$object.html I maintain that one, so if there's some issue t

[Lift] Re: Record and JSON

2009-03-07 Thread marius d.
Why not use Lift's parser one for the purpose of Record integration? However the way I see it converting from a Record to JSON the result should be a JsObj structure so that it can be used in other JS expressions. Also converting from a Record to JsObj is pretty straight forward at this Record st

[Lift] Re: Record and JSON

2009-03-06 Thread Jorge Ortiz
And I forgot the link: http://paste.pocoo.org/show/106757/ --j On Fri, Mar 6, 2009 at 12:11 PM, Jorge Ortiz wrote: > Hey Folks, > > I wrote a Json AST and parser/serializer for unrelated reasons yesterday. > This could be the basis of a Record <--> Json tool. > > --j > > > On Wed, Mar 4, 2009

[Lift] Re: Record and JSON

2009-03-06 Thread Jorge Ortiz
Hey Folks, I wrote a Json AST and parser/serializer for unrelated reasons yesterday. This could be the basis of a Record <--> Json tool. --j On Wed, Mar 4, 2009 at 9:11 AM, David Pollak wrote: > > > On Wed, Mar 4, 2009 at 9:08 AM, Marius wrote: > >> >> Hi, >> >> I was thinking that it might be

[Lift] Re: Record and JSON

2009-03-06 Thread Timothy Perrett
POC == Proof of concept On Mar 5, 11:33 pm, "Charles F. Munat" wrote: > POC? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@googlegroups.com To unsubscrib

[Lift] Re: Record and JSON

2009-03-05 Thread Charles F. Munat
POC? marius d. wrote: > :) .. ok ... let me noodle for while on this and I'll get back with > more details ... perhaps a POC > > On Mar 4, 7:11 pm, David Pollak wrote: >> On Wed, Mar 4, 2009 at 9:08 AM, Marius wrote: >> >>> Hi, >>> I was thinking that it might be useful to be able to obtain a

[Lift] Re: Record and JSON

2009-03-05 Thread Charles F. Munat
Although I'm using JPA, I'm very curious as to where you're going with this. Most of my websites have secure administrative interfaces. Lately, I've been playing around with Ext Js (extending YUI) for the back end, and having a single "admin" page that modifies itself on the basis of AJAX (or

[Lift] Re: Record and JSON

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 9:40 AM, Timothy Perrett wrote: > > Interesting thread. Whats going on with Record at the moment? Now 1.0 > is out, will attention shift back to making record the primary > persistence mech in lift? > > (sorry for the thread hi-jack) We'll chat about that on the call a wee

[Lift] Re: Record and JSON

2009-03-04 Thread Timothy Perrett
Interesting thread. Whats going on with Record at the moment? Now 1.0 is out, will attention shift back to making record the primary persistence mech in lift? (sorry for the thread hi-jack) Cheers, Tim On Mar 4, 5:20 pm, "marius d." wrote: > :) .. ok ... let me noodle for while on this and I'l

[Lift] Re: Record and JSON

2009-03-04 Thread marius d.
:) .. ok ... let me noodle for while on this and I'll get back with more details ... perhaps a POC On Mar 4, 7:11 pm, David Pollak wrote: > On Wed, Mar 4, 2009 at 9:08 AM, Marius wrote: > > > Hi, > > > I was thinking that it might be useful to be able to obtain a JSON > > representation of a Re

[Lift] Re: Record and JSON

2009-03-04 Thread David Pollak
On Wed, Mar 4, 2009 at 9:08 AM, Marius wrote: > > Hi, > > I was thinking that it might be useful to be able to obtain a JSON > representation of a Record and also from a JSON construct to create a > Record. > > Record defines now: > > def suplementalJs(ob: Box[KeyObfuscator]): List[(String, JsExp