pub fn as_bool(value: &[u8]) -> Option<bool>
If the JSONB is a Boolean, returns the associated bool. Returns None otherwise.
JSONB