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