Skip to main content

Module atom

Module atom 

Source
Available on crate feature serde only.
Expand description

Field helper for #[serde(with = "one_brackets::atom")].

Strings are written quoted by default. With this helper a field is written as an unquoted atom (GUID, number, literal) via Display and read via FromStr.

Functionsยง

deserialize
serialize