fmpwizard / lift_30_sbt

Template projects for Lift 3.0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issue with lift json extract

We wrote a custom json Serializer for Mongo's ObjectId, so that if we got a String("id here") we could call

payload.extract[ObjectId] and get a ObjectId("value here")

this works well as long as we have the correct implicit in scope, but if I forget to include it, instead of getting an exception, I simply get a fake objectId value.

About

Template projects for Lift 3.0


Languages

Language:Scala 46.8%Language:HTML 32.9%Language:Shell 14.1%Language:CSS 6.2%