MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / trailing_comma

Function trailing_comma

nodedb-sql/src/parser/object_literal.rs:417–420  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

415
416 #[test]
417 fn trailing_comma() {
418 let m = parse("{ name: 'Alice', }");
419 assert_eq!(m["name"], Value::String("Alice".to_string()));
420 }
421
422 #[test]
423 fn not_an_object_returns_none() {

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected