With muuntaja, is there an easy way to intercept values serialization? For example, I have records that I'd like to convert to simple maps. Currently I walk over everything and do #(into {} %) when I find a matching record type, but that's incredibly inefficient.
For transit I think I found a good solution:
{:handlers {my-record-type (new WriteHandlers$MapWriteHandler)}}Oh and it looks like the json is already encoded as a simple map if the record doesn't have a particular encoder defined. Perfect!
Now the application/edn part 😅