The node as a JSON value (JSON-LD object).
(&self)
| 93 | impl MemoryNode { |
| 94 | /// The node as a JSON value (JSON-LD object). |
| 95 | pub fn to_value(&self) -> Value { |
| 96 | serde_json::to_value(self).expect("memory node serialization is infallible") |
| 97 | } |
| 98 | |
| 99 | /// The value used for signing: everything except the `proof`. Delegates to |
| 100 | /// [`crate::proof::signing_view`] so the excluded key-set lives in one |
no outgoing calls
no test coverage detected