pub fn parse_kp_value_no_seq(&mut self, mut str: &str) {
        while let Some(tuple) = KeyBuilder::parse_first_kp_value_segment(str) {
            match tuple {
                (Segment::ObjectKey(_key), unescaped) => {
                    str = &str[unescaped.len()..];
                    self.keypath.push(unescaped);
                }
                (Segment::Array(i), unescaped) => {
                    str = &str[unescaped.len()..];
                    self.keypath.push("$".to_string());
                    self.arraypath.push(i);
                }
            }
        }
    }
/// parses a kp_value_key and sets the internally elements appropriately
parses a kp_value_key and sets the internally elements appropriately
parses a kp_value_key and sets the internally elements appropriately
pub fn parse_kp_value_no_seq(&mut self, mut str: &str) {
        while let Some(tuple) = KeyBuilder::parse_first_kp_value_segment(str) {
            match tuple {
                (Segment::ObjectKey(_key), unescaped) => {
                    str = &str[unescaped.len()..];
                    self.keypath.push(unescaped);
                }
                (Segment::Array(i), unescaped) => {
                    str = &str[unescaped.len()..];
                    self.keypath.push("$".to_string());
                    self.arraypath.push(i);
                }
            }
        }
    }
pub fn parse_kp_value_no_seq ( & mut self , mut str : & str ) { while let Some ( tuple ) = KeyBuilder :: parse_first_kp_value_segment ( str ) { match tuple { ( Segment :: ObjectKey ( _key ) , unescaped ) => { str = & str [ unescaped . len ( ) .. ] ; self . keypath . push ( unescaped ) ; } ( Segment :: Array ( i ) , unescaped ) => { str = & str [ unescaped . len ( ) .. ] ; self . keypath . push ( " " . to_string ( ) ) ; self . arraypath . push ( i ) ; } } } }
parses a kp_value_key and sets the internally elements appropriately
parses a kp_value_key and sets the internally elements appropriately
&mut self
str
&str
&mut self
str
&str