Re: How to handle java.sql.Date inside Maps with to_json / from_json

2018-06-28 Thread Patrick McGloin
Hi all, I tested this with a Date outside a map and it works fine so I think the issue is simply for Dates inside Maps. I will create a Jira for this unless there are objections. Best regards, Patrick On Thu, 28 Jun 2018, 11:53 Patrick McGloin, wrote: > Consider the following test, which will

How to handle java.sql.Date inside Maps with to_json / from_json

2018-06-28 Thread Patrick McGloin
Consider the following test, which will fail on the final show: * case class *UnitTestCaseClassWithDateInsideMap(map: Map[Date, Int]) test(*"Test a Date as key in a Map"*) { *val *map = *UnitTestCaseClassWithDateInsideMap*(*Map*(Date.*valueOf*( *"2018-06-28"*) -> 1)) *val *options =