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 stage.

Please don't get me wrong .. I really like what you did (as a generic
and isolated solution) but for Records stuff ... I don't see lots of
reasons to integrate it.

Br's,
Marius

On Mar 6, 10:11 pm, Jorge Ortiz <jorge.or...@gmail.com> wrote:
> And I forgot the link:
>
> http://paste.pocoo.org/show/106757/
>
> --j
>
> On Fri, Mar 6, 2009 at 12:11 PM, Jorge Ortiz <jorge.or...@gmail.com> 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 at 9:11 AM, David Pollak <
> > feeder.of.the.be...@gmail.com> wrote:
>
> >> On Wed, Mar 4, 2009 at 9:08 AM, Marius <marius.dan...@gmail.com> 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)] = Nil
>
> >>> but that's not very intuitive ... not to mention not implemented yet.
>
> >>> Thoughts ?
>
> >> I've been needing bi-directional JSON support to allow for the creation of
> >> complex JSON data structures.
>
> >> So, my thought is I have a need, but not a solution. :-)
>
> >>> Br's,
> >>> Marius
>
> >> --
> >> Lift, the simply functional web frameworkhttp://liftweb.net
> >> Beginning Scalahttp://www.apress.com/book/view/1430219890
> >> Follow me:http://twitter.com/dpp
> >> Git some:http://github.com/dpp
--~--~---------~--~----~------------~-------~--~----~
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 unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to