i've read almost every topic about JsonResponse and i've played with
it for the _whole_ day. I don't get it to work and it drives me more
than nuts by now.
I just want a simple list dumped to json:
def listContents(): JsonResponse = {
JsonResponse(JsObj("results" -> JsExp(Content.findAll.flatMap
(_.asJs))))
}
that was my final try. parts like this really need documentation.. by
all means, my scala skill really isn't one of the things i can be
proud of (yet), but getting sense out of those abstract docs is really
more than hard.
best regards.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---