http://github.com/dpp/liftweb/issues#issue/108
On Fri, Oct 16, 2009 at 12:16 AM, Joni Freeman <[email protected]>wrote: > > Hi David, > > Please file a ticket, serialization does not support polymorphic Lists > yet. It requires that we add type information into JSON. Something > like: > > { > "who": [ > { > jsonClass = "example.Foo1" > ... > }, > { > jsonClass = "example.Foo2" > ... > } > ] > } > > Cheers Joni > > > On Oct 16, 1:11 am, David Pollak <[email protected]> > wrote: > > Howdy, > > I've got something like: > > > > final case class Foo[T](name: String) > > > > final case class ManyFoos(who: List[Foo[_]])) > > > > If I do JSON serialization/deserialization using lift-json, of an > instance > > of ManyFoos, the deserialization stuff throws an exception. Is this > > expected or should I file a ticket? > > > > Thanks, > > > > David > > > > -- > > Lift, the simply functional web frameworkhttp://liftweb.net > > Beginning Scalahttp://www.apress.com/book/view/1430219890 > > Follow me:http://twitter.com/dpp > > Surf the harmonics > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
