Function read_token::parse_string
[−]
[src]
pub fn parse_string(chars: &[char], offset: usize, next_offset: usize) -> Result<String, ParseStringError>
Parses string into a real string according to the JSON standard.
Assumes the string starts and ends with double-quotes.
offset
is the location at the start of the slice.
next_offset
is the location where the string ends.