The node as a JSON value (JSON-LD object).
(&self)
| 348 | impl CanonicalNode { |
| 349 | /// The node as a JSON value (JSON-LD object). |
| 350 | pub fn to_value(&self) -> serde_json::Value { |
| 351 | serde_json::to_value(self).expect("canonical node serialization is infallible") |
| 352 | } |
| 353 | |
| 354 | /// The value used for signing: everything except the `proof`. Delegates to |
| 355 | /// [`crate::proof::signing_view`] so the excluded key-set is defined once, |
no outgoing calls