Scala Play Json Reads
I have a sample code as below. import play.api.libs.json._ import play.api.libs.functional.syntax._ import play.api.data.validation.ValidationError import play.api.libs.json.Reads._ case class Retailer(firstName:String,lastName:String,email:String,mobileNo:String,password:String) case class Business(name:String,preferredUrl:String,businessPhone:String,retailer:Retailer) object JsonTest { val jsonValue = """ { "business": { "name":"Some Business Name", "preferredUrl":"someurl", "businessPhone":"somenumber", "retailer": { "firstName":"Some", "lastName":"One", "email":"someone@somewhere.com",