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

Function parse_jsonc_plain_json

src/agents/mod.rs:1965–1970  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1963
1964 #[test]
1965 fn parse_jsonc_plain_json() {
1966 let input = r#"{"key": "value", "num": 42}"#;
1967 let v = parse_jsonc(input);
1968 assert_eq!(v["key"], "value");
1969 assert_eq!(v["num"], 42);
1970 }
1971
1972 #[test]
1973 fn parse_jsonc_line_comment() {

Callers

nothing calls this directly

Calls 1

parse_jsoncFunction · 0.85

Tested by

no test coverage detected