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

Function parse

atomic-wasm/src/lib.rs:30–32  ·  view source on GitHub ↗
(json: &str)

Source from the content-addressed store, hash-verified

28}
29
30fn parse(json: &str) -> Result<serde_json::Value, JsError> {
31 serde_json::from_str(json).map_err(|e| JsError::new(&format!("not JSON: {e}")))
32}
33
34/// A document ready to sign: the document to hand back to [`attach_proof`],
35/// and the bytes the signature must cover.

Callers 4

prepare_attestationFunction · 0.70
attach_proofFunction · 0.70
verify_attestationFunction · 0.70
canonicalizeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected