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

Function json_to_value_nested

nodedb-client/src/remote_parse.rs:124–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

122
123 #[test]
124 fn json_to_value_nested() {
125 let v = json_to_value(&serde_json::json!({"a": [1, 2]}));
126 assert!(matches!(v, Value::Object(_)));
127 }
128}

Callers

nothing calls this directly

Calls 1

json_to_valueFunction · 0.70

Tested by

no test coverage detected