Function serialize_iterative

Source
pub fn serialize_iterative<S>(
    peek: Peek<'_, '_>,
    serializer: &mut S,
) -> Result<(), S::Error>
where S: Serializer,
Expand description

Serializes a Peek value using the provided Serializer.

This function uses an iterative approach with a stack to avoid recursion depth limits.