-
-
Notifications
You must be signed in to change notification settings - Fork 719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handle escaped dot in json path in the QueryParser. #1682
Conversation
9a53964
to
7a7d8d5
Compare
7a7d8d5
to
f75bdb1
Compare
Codecov Report
@@ Coverage Diff @@
## main #1682 +/- ##
==========================================
+ Coverage 93.98% 94.04% +0.05%
==========================================
Files 256 256
Lines 48985 49053 +68
==========================================
+ Hits 46040 46132 +92
+ Misses 2945 2921 -24
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
let mut escaped_state: bool = false; | ||
let mut json_path_segments = Vec::new(); | ||
let mut buffer = String::new(); | ||
for ch in json_path.chars() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: char
or a variable with more than 2 letters
Ok(()) | ||
} | ||
|
||
#[test] | ||
fn test_json_field_espace() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fn test_json_field_espace() { | |
fn test_json_field_escape() { |
No description provided.