You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure the encoding behavior either
by using the JSONDecoder.moneyEncodingOptions property
or by setting the CodingUserInfoKey.moneyEncodingOptions key
in the encoder's userInfo property.
Inheritance
OptionSet
Initializers
init(rawValue:)
publicinit(rawValue:Int)
Properties
rawValue
letrawValue:Int
omitCurrency
Encodes the Money value as a single value,
without specifying a currency.
letomitCurrency
encodeAmountAsString
Encodes the string representation of amount
instead of the built-in Decimal encoding.