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

Function parse

nodedb-sql/src/parser/object_literal.rs:360–362  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

358 use super::*;
359
360 fn parse(s: &str) -> HashMap<String, Value> {
361 parse_object_literal(s).unwrap().unwrap()
362 }
363
364 #[test]
365 fn simple_string_and_int() {

Callers 13

simple_string_and_intFunction · 0.70
nested_objectFunction · 0.70
array_valueFunction · 0.70
mixed_typesFunction · 0.70
escaped_quotesFunction · 0.70
empty_objectFunction · 0.70
trailing_commaFunction · 0.70
negative_numbersFunction · 0.70
nested_array_in_objectFunction · 0.70
dotted_keyFunction · 0.70
plan_aggFunction · 0.50
plan_elementwiseFunction · 0.50

Calls 1

parse_object_literalFunction · 0.85

Tested by 10

simple_string_and_intFunction · 0.56
nested_objectFunction · 0.56
array_valueFunction · 0.56
mixed_typesFunction · 0.56
escaped_quotesFunction · 0.56
empty_objectFunction · 0.56
trailing_commaFunction · 0.56
negative_numbersFunction · 0.56
nested_array_in_objectFunction · 0.56
dotted_keyFunction · 0.56