Hi! How extend the muuntaja instance to take into account DateTime from Joda? Currently, I have this kind of error: Joda date/time type org.joda.time.DateTime not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-joda"
Done with:
(def custom-muuntaja-instance
(muuntaja/create
(assoc-in
muuntaja/default-options
[:formats "application/json" :encoder-opts]
{:encoders {org.joda.time.DateTime (fn [v gen] (.writeString gen (str v)))}})))