case class TestClass(timestamp: String, test: Map[String,Any])
implicit val formats = DefaultFormats
val testVal = json.extract[TestClass]
net.liftweb.json.MappingException: No usable value for test
No information known about type
at net.liftweb.json.Meta$.fail(Meta.scala:227)
at net.liftweb.json.Extraction$.mkValue$1(Extraction.scala:438)
at net.liftweb.json.Extraction$.net$liftweb$json$Extraction$$build$1(Extraction.scala:385)
at net.liftweb.json.Extraction$$anonfun$15.apply(Extraction.scala:260)
at net.liftweb.json.Extraction$$anonfun$15.apply(Extraction.scala:260)
at scala.collection.immutable.List.map(List.scala:277)
at net.liftweb.json.Extraction$.instantiate$1(Extraction.scala:260)
at net.liftweb.json.Extraction$.newInstance$1(Extraction.scala:308)
at net.liftweb.json.Extraction$.net$liftweb$json$Extraction$$build$1(Extraction.scala:379)
at net.liftweb.json.Extraction$.extract0(Extraction.scala:444)
--
--
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
---
You received this message because you are subscribed to the Google Groups "Lift" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liftweb+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.