We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0302cb4 commit 3c48f26Copy full SHA for 3c48f26
src/main.rs
@@ -121,6 +121,8 @@ fn convert_code(input: &str) -> String {
121
}
122
//final path for type checki
123
if let Some(last_key) = keys.last() {
124
+ let parent_path = path.clone();
125
+ checks.push(format!("('{}' in {})", last_key, parent_path));
126
path += &format!("[\'{}\']", last_key);
127
checks.push(format!("({} =~ Array)", path));
128
0 commit comments