pub fn export_json(state: &State) -> ValueExpand description
Every piece of metadata a migration to another system needs, as one JSON
value. Secrets and live state are left out: password verifiers, sessions,
API tokens, sign-in throttles, locks. Documents and attachment bytes are
not included (they are in a backup); each revision names its
document_key and content_hash, and each attachment its sha256.