The node as a JSON value (JSON-LD object).
(&self)
| 191 | impl CanonicalNode { |
| 192 | /// The node as a JSON value (JSON-LD object). |
| 193 | pub fn to_value(&self) -> serde_json::Value { |
| 194 | serde_json::to_value(self).expect("canonical node serialization is infallible") |
| 195 | } |
| 196 | |
| 197 | /// The value used for signing: everything except the `proof`. Delegates to |
| 198 | /// [`crate::proof::signing_view`] so the excluded key-set is defined once, |
no outgoing calls