Hello guys, is it possible to concatenate JsObj objects?
Right now I have several JsonResponse calls depending on some conditions. I am building the responses including some error codes and different components. I would like to build the answer part by part and concatenate the pieces at the end of the method in only one call to JsonResponse. Here an example: JsonResponse(JsObj("a" -> 1, "b"->2)) Would it be possible to have something like: val response = JsObj("a" -> 1) val response1=JsObj("b" -> 2) then JsonResponse(JsObj(reponse ,response1)) A line exactly like this one gives a compilation error. I know I need to write it differently but I do not know how. Any suggestions? Thanks in advance, GA --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lift" group. To post to this group, send email to liftweb@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 -~----------~----~----~----~------~----~------~--~---