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

Method to_value

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

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

(&self)

Source from the content-addressed store, hash-verified

270impl CanonicalNode {
271 /// The node as a JSON value (JSON-LD object).
272 pub fn to_value(&self) -> serde_json::Value {
273 serde_json::to_value(self).expect("canonical node serialization is infallible")
274 }
275
276 /// The value used for signing: everything except the `proof`. Delegates to
277 /// [`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