title: Convert any Scala object to JSON
body: <p>I am using latest version of Play Framework and it's JSON lib like this <code>Json.toJson(obj)</code>. But toJson is not capable of converting any Scala object to JSON, because the structure of data is unknown. Someone suggested using case convert, but here my Scala knowledge falls short. The data comes from database, but the structure of table is not known.</p>
  
  <p>Where should I look further to create convert such unknown data structure to JSON? </p>