Add serialization for BigDecimal
This commit is contained in:
parent
ff1d4b7f12
commit
9d2dbafdb5
|
@ -108,4 +108,7 @@
|
|||
(map map-entry->byte-array)
|
||||
(sort ba-comparator)
|
||||
(cons map-sep)
|
||||
(join-byte-arrays))))
|
||||
(join-byte-arrays)))
|
||||
java.math.BigDecimal
|
||||
(to-byte-array [this]
|
||||
(.getBytes (.toString this))))
|
||||
|
|
Loading…
Reference in New Issue