pushka
pushka copied to clipboard
Add a way to define a naming scheme
Currently most scala code follows the following naming scheme:
case class User(firstName: String, lastName: String)
While in Json the object would be written has:
var user = {"first_name": "", "last_name": ""}
so it would be great if there would be a way to define a global naming scheme which automatically would assign a json object of {"first_name": "", "last_name": ""} to a scala object with firstName and lastName and vice versa.