Function serde_json::read::parse_escape

source ยท
fn parse_escape<'de, R: Read<'de>>(
    read: &mut R,
    validate: bool,
    scratch: &mut Vec<u8>,
) -> Result<()>
Expand description

Parses a JSON escape sequence and appends it into the scratch space. Assumes the previous byte read was a backslash.