Hi, all;
Apologies if I've missed something related in the archives, but I couldn't find anything.
I'm trying to migrate a bunch of existing object to Mongo using Salat, and I several of them have Maps with object keys. Using spray-json I was able to get them to write by creating an intermediate serialization object where I changed every Map[K,V] to Set[(K,V)]. This feels like something I should be able to do global and semi-magical with scalat, but I can't figure out how. Is this possible, and if so, where should I be looking?
If it's not possible, is there a way for me to register custom object -> key string conversions for types? For example, I have a map with MeasurementPoint instances as the keys and every MeasurementPoint has a unique name. So, if I can hand salat a custom mapper to and from those keys, then that would also work.
Thanks in advance.
Thom