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

Function parse_jsonc_combined

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

Source from the content-addressed store, hash-verified

2000
2001 #[test]
2002 fn parse_jsonc_combined() {
2003 let input = "{\n // comment\n \"x\": /* inline */ 99,\n}";
2004 let v = parse_jsonc(input);
2005 assert_eq!(v["x"], 99);
2006 }
2007
2008 #[test]
2009 fn parse_jsonc_url_in_string_not_stripped() {

Callers

nothing calls this directly

Calls 1

parse_jsoncFunction · 0.85

Tested by

no test coverage detected