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

Function parse_jsonc_line_comment

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

Source from the content-addressed store, hash-verified

1971
1972 #[test]
1973 fn parse_jsonc_line_comment() {
1974 let input = "{\n // this is a comment\n \"key\": \"val\"\n}";
1975 let v = parse_jsonc(input);
1976 assert_eq!(v["key"], "val");
1977 }
1978
1979 #[test]
1980 fn parse_jsonc_block_comment() {

Callers

nothing calls this directly

Calls 1

parse_jsoncFunction · 0.85

Tested by

no test coverage detected