Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NodeDB-Lab/nodedb
/ escaped_quotes
Function
escaped_quotes
nodedb-sql/src/parser/object_literal.rs:405–408 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
403
404
#[test]
405
fn escaped_quotes() {
406
let m = parse(
"{ name: 'O''Brien' }"
);
407
assert_eq!(m[
"name"
], Value::String(
"O'Brien"
.to_string()));
408
}
409
410
#[test]
411
fn empty_object() {
Callers
nothing calls this directly
Calls
1
parse
Function · 0.70
Tested by
no test coverage detected