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

Function parse_jsonc_trailing_comma_array

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

Source from the content-addressed store, hash-verified

1993
1994 #[test]
1995 fn parse_jsonc_trailing_comma_array() {
1996 let input = r#"{"items": [1, 2, 3,]}"#;
1997 let v = parse_jsonc(input);
1998 assert_eq!(v["items"][2], 3);
1999 }
2000
2001 #[test]
2002 fn parse_jsonc_combined() {

Callers

nothing calls this directly

Calls 1

parse_jsoncFunction · 0.85

Tested by

no test coverage detected