The node as a JSON value (JSON-LD object).
(&self)
| 338 | impl CanonicalNode { |
| 339 | /// The node as a JSON value (JSON-LD object). |
| 340 | pub fn to_value(&self) -> serde_json::Value { |
| 341 | serde_json::to_value(self).expect("canonical node serialization is infallible") |
| 342 | } |
| 343 | |
| 344 | /// The value used for signing: everything except the `proof`. Delegates to |
| 345 | /// [`crate::proof::signing_view`] so the excluded key-set is defined once, |
no outgoing calls