Let\'s say that I have a lot of similar data classes. Here\'s an example class User which is defined as follows:
User
case class User (name: String,
There is an excellent blog post on map to/from case class conversion using macros.