Available on crate features
serde
and alloc
only.Expand description
Serialize and deserialize Option<Amount>
as JSON numbers denominated in BTC.
Use with #[serde(default, with = "amount::serde::as_btc::opt")]
.
serde
and alloc
only.Serialize and deserialize Option<Amount>
as JSON numbers denominated in BTC.
Use with #[serde(default, with = "amount::serde::as_btc::opt")]
.