Expand description
JSON conventions shared by every module (specification §2, §3.6, §7).
Modules§
- u64_
decimal #[serde(with = "crate::json::u64_decimal")]: au64as a JSON decimal string, because JavaScript numbers lose bits above 2^53 (permission sets, ADR-0006).
Structs§
- Signed
Json - A signed object as it travels in JSON (specification §3.6): the canonical bytes
Band the composite signature, both base64url. Receivers verifysigoverbyteswith the context of the object type they expect before decodingbytes.
Enums§
- Patch
- A field that distinguishes “absent” from “null” in update commands
(
channel.updatewith"topic": nullclears the topic; notopicleaves it).
Functions§
- is_
zero_ u32 skip_serializing_iffor au32that is absent when 0 (messageflags, §8.14).