MCPcopy Create free account
hub / github.com/1jehuang/jcode / parse_event_json

Function parse_event_json

crates/jcode-protocol/src/protocol_tests.rs:8–10  ·  view source on GitHub ↗
(json: &str)

Source from the content-addressed store, hash-verified

6}
7
8fn parse_event_json(json: &str) -> Result<ServerEvent> {
9 serde_json::from_str(json).map_err(Into::into)
10}
11
12include!("protocol_tests/core_events.rs");
13include!("protocol_tests/comm_requests.rs");

Calls

no outgoing calls

Tested by

no test coverage detected