I tried several ways and I could not get to serialize the /blah and
/hello.txt values.
I even used Joni's secret weapon [1] and the closest I got was:
case class Root(field1: Boolean, field2: String, entries: List[Entrie])
case class Entrie(fielda: Int, fieldb: String)
which returns:
Root(true,hi,List(Entrie(70615911,4358367001dfbd6),
Entrie(363696459,15ad914b001dfbd6)))
(omitting the first String value)
Are you generating the json? or maybe you could use the transform
method to convert the json into a different structure [2]
[1]
http://pastie.org/2964249
[2]
https://github.com/lift/framework/tree/master/core/json
Regards,
Diego
> --
> Lift, the simply functional web framework:
http://liftweb.net
> Code:
http://github.com/lift
> Discussion:
http://groups.google.com/group/liftweb
> Stuck? Help us help you:
https://www.assembla.com/wiki/show/liftweb/Posting_example_code
--
Diego Medina
Lift/Scala Developer
di...@fmpwizard.com
http://www.fmpwizard.com