I am working on a scala application. In my code, I am setting values of my model and converting it to json using spray json as follows:
User(id, name, address).to