tommy chheng
tommy chheng

Reputation: 9218

How can I convert a case class to a lift-json jobject class?

I have a case class

case class Doc(title:String, ....)

which I want to convert to a lift-json JObjectso I can more easily use JObject methods merge, etc.

Upvotes: 9

Views: 1891

Answers (1)

Joni
Joni

Reputation: 2789

Extraction.decompose(Doc("foo", ...))

Upvotes: 14

Related Questions