Module bitcoin::util::amount::serde::as_btc::opt[][src]

Serialize and deserialize Option as JSON numbers denominated in BTC. Use with #[serde(default, with = "amount::serde::as_btc::opt")].

Functions

deserialize
serialize