We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c8f785 commit b0e85beCopy full SHA for b0e85be
1 file changed
src/webserver/database/sql_to_json.rs
@@ -672,7 +672,7 @@ line2' as multiline_string
672
673
let expected_json = serde_json::json!({
674
"null_col": null,
675
- "empty_string": if empty_str_is_null { serde_json::Value::Null } else { serde_json::Value::String("".to_string()) },
+ "empty_string": if empty_str_is_null { serde_json::Value::Null } else { serde_json::Value::String(String::new()) },
676
"zero_value": 0,
677
"negative_int": -42,
678
"my_float": 1.23456,
0 commit comments