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 I can do is point you to that parser:
http://technically.us/git?p=dispatch.git;a=blob;f=src/main/scala/dispatch/Json.scala;h=776da7b6c399d2985dfbed74bd31a197568360f9;hb=HEAD
On Jul 9, 10:35 am, Jeppe Nejsum Madsen <[email protected]> wrote:
> Hi,
>
> Has anyone made a typesafe JSON builder?
>
> Many Javascript libraries provides support for extensive customization,
> usually via a JSON object
> (eg.http://www.jqplot.com/docs/files/optionsTutorial-txt.html#Options_Tut...
>
> It would be nice to generate this from Scala which would then give you
> type checking, IDE auto completion etc.
>
> Lacking concrete implementations, any ideas on the best way to approach
> this. I've 
> seenhttp://blog.rafaelferreira.net/2008/07/type-safe-builder-pattern-in-s...
> which looks like a viable (if a bit verbose) approach.
>
> /Jeppe

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to