I am using dispatch for scala, how can I convert the response of the web service into sa JSON file? -


i making http request web service using dispatch library , scala. working fine, wanted convert response json. can response it's in string format. here's i'm doing:

 val http = new http   val handler = http(req.as_str) 

req request variable containing url.

thanks help. :d

if request case class, can use lift-json serialise case class tree json string (and back). other such (de)serialisers exists, exampe, sjson, i've worked lift-json far.


Comments

Popular posts from this blog

c# - SVN Error : "svnadmin: E205000: Too many arguments" -

c# - Copy ObservableCollection to another ObservableCollection -

All overlapping substrings matching a java regex -