Skip to main content

parse_key_token

Function parse_key_token 

Source
pub fn parse_key_token(
    content: &str,
    start: usize,
) -> Result<(String, usize, bool)>
Expand description

Parse a key token (quoted or unquoted) and return key, end index, and quoted flag.

ยงErrors

Returns an error if the key is malformed or missing a trailing colon.