The node as a JSON value (JSON-LD object).
(&self)
| 270 | impl CanonicalNode { |
| 271 | /// The node as a JSON value (JSON-LD object). |
| 272 | pub fn to_value(&self) -> serde_json::Value { |
| 273 | serde_json::to_value(self).expect("canonical node serialization is infallible") |
| 274 | } |
| 275 | |
| 276 | /// The value used for signing: everything except the `proof`. Delegates to |
| 277 | /// [`crate::proof::signing_view`] so the excluded key-set is defined once, |
no outgoing calls