MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / to_value

Method to_value

atomic-canonical/src/node.rs:193–195  ·  view source on GitHub ↗

The node as a JSON value (JSON-LD object).

(&self)

Source from the content-addressed store, hash-verified

191impl CanonicalNode {
192 /// The node as a JSON value (JSON-LD object).
193 pub fn to_value(&self) -> serde_json::Value {
194 serde_json::to_value(self).expect("canonical node serialization is infallible")
195 }
196
197 /// The value used for signing: everything except the `proof`. Delegates to
198 /// [`crate::proof::signing_view`] so the excluded key-set is defined once,

Callers 15

write_trackedFunction · 0.45
write_legacy_sidecarFunction · 0.45
runMethod · 0.45
write_trackedFunction · 0.45
write_trackedFunction · 0.45
write_legacy_sidecarFunction · 0.45
runMethod · 0.45
write_trackedFunction · 0.45
signing_valueMethod · 0.45

Calls

no outgoing calls