Hi Matt, I'm pretty new/novice myself, but I believe you do this through View instead of Snippet.
Don't forget to add the specific View page to Sitemap otherwise it won't be accessible when you call it. Hope this is accurate / helpful. Dan On Dec 3, 11:06 am, deadfolk <deadf...@gmail.com> wrote: > Hi all, > > I'm still at the evaluation stage of Lift, so please forgive my > ignorance, but I cannot figure out how to render any non-XML reponses. > > I'm looking to create a simple web service which can send reponses > back in either XML or JSON. I have the XML side covered, but I can't > figure out how to send a JSON response back. Snippets take a NodeSeq > and return a NodeSeq, so unless I'm missing something here, they are > only good for XML. > > I've found various posts on JSON, but they all seem to relate to forms > and AJAX, whereas all I really want to be able to do is render JSON > instead of XML. > > Any pointers greatly appreciated, > > Matt -- You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to lift...@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.