Expand description
Helper functions for converting events between different formats.
This module provides utilities for:
- Building event JSON values
- Serializing event references
- Extracting signatures from canonical JSON
- Converting between PDU formats
This module is package-private; Things marked as pub are not actually
public, unless re-exported elsewhere.
Functionsยง
- build_
unsigned - Build the unsigned section for client events.
- extract_
signatures - Extract signature maps from a canonical event object.
- raw_
json - Serialize a JSON value into a raw JSON box.
- serialize_
hashed_ event_ ref - Serialize a hashed event reference to JSON.