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

Function parse_jsonc_trailing_comma_with_whitespace

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

Source from the content-addressed store, hash-verified

2028
2029 #[test]
2030 fn parse_jsonc_trailing_comma_with_whitespace() {
2031 let input = "{\n \"a\": 1 ,\n}";
2032 let v = parse_jsonc(input);
2033 assert_eq!(v["a"], 1);
2034 }
2035}
2036
2037// ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls 1

parse_jsoncFunction · 0.85

Tested by

no test coverage detected