Package com.broadleafcommerce.money.jackson
package com.broadleafcommerce.money.jackson
-
ClassDescriptionBroadleafMoneyModule<M extends javax.money.MonetaryAmount>Overrides the default Monetary deserializers (e.g.Serializes a BigDecimal property to look like MonetaryAmount with a currency.Deprecated.CurrencyContextDeserializer<T extends CurrencyContext>Allows deserialization of a
CurrencyContext
.Allows serialization of aCurrencyContext
.Request scoped bean used to hold the currency to be used during deserialization.On an incoming deserialization request, we should not trust the currency coming in at all and instead only look at the value.Takes in JSON that looks like it was formatted for a Money object but deserializes just the amount field into a BigDecimal.SystemCurrencyMonetaryDeserializer<M extends javax.money.MonetaryAmount>Allows deserialization of aMonetaryAmount
(or derivatives) that utilizes the system currency if no currency field is provided to deserialize from