I want to extract json as a case class within Play application. The attributes in case class are defined in camelCase and json data comes in snake_case.
case class User(userId: Long, userName: String)
and json would be like this {"user_name":"Vishal","user_id":67}
Is there an easy way to instruct play json to automatically do the mapping and extract, like providing some annotations etc.