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