Please open a ticket for this. We need to get the rest of Lift playing well
with Joni's excellent JSON library.
On Tue, Oct 6, 2009 at 7:43 AM, glenn gl...@exmbly.com wrote:
I want to pass the result of Xml.toJson to JsonResponse. How can I do
that, when JsonResponse takes a JsExp as
a
For now I am doing this. It's not so bad.
def xmlToJson(xml: Elem): JsExp = {
val json = Xml.toJson(xml) map {
// some mappings specific to my json needs
}
JsRaw(Printer.compact(render(json))
}
JsonResponse(xmlToJson(xml))
On Oct 6, 11:17 am, David Pollak
Sounds like it might work for me. What package and class
is render found in.
Glenn
On Oct 6, 8:47 am, harryh har...@gmail.com wrote:
For now I am doing this. It's not so bad.
def xmlToJson(xml: Elem): JsExp = {
val json = Xml.toJson(xml) map {
// some mappings specific to my json
Never mind, I found it.
Glenn
On Oct 6, 9:02 am, glenn gl...@exmbly.com wrote:
Sounds like it might work for me. What package and class
is render found in.
Glenn
On Oct 6, 8:47 am, harryh har...@gmail.com wrote:
For now I am doing this. It's not so bad.
def xmlToJson(xml: Elem):
Which modules will be dependent on lift-json?
On Tue, Oct 6, 2009 at 11:17 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Please open a ticket for this. We need to get the rest of Lift playing well
with Joni's excellent JSON library.
On Tue, Oct 6, 2009 at 7:43 AM, glenn
On Tue, Oct 6, 2009 at 5:13 PM, Naftoli Gugenheim naftoli...@gmail.comwrote:
Which modules will be dependent on lift-json?
lift-webkit
On Tue, Oct 6, 2009 at 11:17 AM, David Pollak
feeder.of.the.be...@gmail.com wrote:
Please open a ticket for this. We need to get the rest of Lift