pub fn from_json_bytes_with_config(source: &'a [u8], config: ParseConfig) -> Result<Self, Error>
let Node::Object { length: len } = &mut self.collection.as_mut()[index] else { unreachable!("extended wrong type") };
let Node::Array { length: len } = &mut self.collection.as_mut()[index] else { unreachable!("extended wrong type") };
let Node::Object { length: len } = &self.collection.as_ref()[*object] else { unreachable!("invalid object") };
let Node::Array { length: len } = &self.collection.as_ref()[*array] else { unreachable!("invalid array") };
pub type HeaplessDocument<'a, const N: usize> = GenericDocument<'a, heapless::Vec<Node<'a>, N>>;