Cheers. I had everything else except for the "toList".
> For instance:
>
> val json = ("books" ->
> books.map { b =>
> ("id" -> b.id) ~
> ("tags" -> b.tags.map { case (k, v) => JField(k, v) }.toList)
> }
> )
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---