I guess this is basically a question for Joni, but I figure I'll throw
it out here for everyone to see.

Would it be possible to have extract() support Mapper instances in
additional to standard case classes?

After parsing some JSON I get the following JValue: JObject(List(JField
(node,JString(00:1D:C9:00:04:9F)), JField(dt,JInt(1254553581405)),
JField(temp,JDouble(27.5)))). I'd like to turn this into a new
instance of my Packet model and it'd be awesome if extract could do
that.

I don't know how hard would it be to add this feature, so I don't know
if this is a reasonable request. This would make making JSON API
endpoints really easy for me and I hope for other people too.

Peter Robinett
--~--~---------~--~----~------------~-------~--~----~
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