Skip to main content

xml_attrs_json

Function xml_attrs_json 

Source
pub fn xml_attrs_json<T: ReadTxn, N: Xml>(txn: &T, node: &N) -> String
Expand description

A node’s stored attributes as a JSON object, for callback rules. Keys as stored (__type and friends keep their prefix); values via yrs’s own JSON encoding.