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 <feeder.of.the.be...@gmail.com>
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
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to