How do I return a json response using scala lift? -
how return list json response?
so querying /list?id=123 returns
["a", "b", "c"]
the net.liftweb.json package has looking for. following snippet should json object can returned , converted response:
implicit val formats = defaultformats val list = //create list extraction.decompose(list)
Comments
Post a Comment