MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / extract_json

Function extract_json

tests/mcp_suite/mcp_handler_test.rs:731–733  ·  view source on GitHub ↗
(value: &Value)

Source from the content-addressed store, hash-verified

729}
730
731fn extract_json(value: &Value) -> Value {
732 serde_json::from_str(extract_text(value)).unwrap()
733}
734
735fn extract_first_json_content(value: &Value) -> Value {
736 value["content"]

Calls 1

extract_textFunction · 0.70

Tested by

no test coverage detected