Expand description
Utilities for converting between JSON values and Automerge documents.
Functionsยง
- hydrate_
to_ json - Convert automerge hydrate::Value to serde_json::Value.
- hydrate_
to_ json_ with_ rich_ text - Serialize a whole Automerge document to JSON, converting rich-text
Textobjects (stored under thecontentproperty) into structured spans arrays so that marks and block markers survive the round-trip. - populate_
automerge_ from_ json - Populate an automerge document from a JSON value.