as_bool

Function as_bool 

Source
pub fn as_bool<'bytes, B, S>(bytes: &B) -> Result<bool, JsonError<'bytes, B, S>>
where B: BytesLike<'bytes>, S: Stack,
Expand description

Interpret the immediate value within the bytes as a bool.