I need to serialize scala.math.BigDecimal
values using casbah
automatic type conversions.
I've imported this
import com.mongodb.casbah.commons.conversions.scala._
and call those methods within the class.
RegisterJodaTimeConversionHelpers()
DeregisterJodaLocalDateTimeConversionHelpers()
But it says, java.lang.IllegalArgumentException: can't serialize class scala.math.BigDecimal.
Isn't casbah
support for Bigdecimal
serialization or any other way that I can do this?