Just use a JsonResponse instead of XmlRresponse.
See definition:

object JsonResponse extends HeaderStuff {
  def apply(json: JsExp): LiftResponse = JsonResponse(json, headers,
cookies, 200)
}

and call it

JsonResponse(JsObj(..))

Br's,
Marius

On Jun 11, 8:25 pm, Makeable <[email protected]> wrote:
> I have followed through the book and have been successful in creating
> an XML API.
> How would I go about utilizing a JSONResponse instead?
>
> Kind Regards,
>
> Matt
--~--~---------~--~----~------------~-------~--~----~
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