pub fn truncate_strings(value: &mut Value, max: usize) -> boolExpand description
Shortens every string longer than max characters, recursively.
Returns true when at least one string was cut, so the caller can flag the
envelope. Truncation counts characters, not bytes, and therefore never
splits a UTF-8 sequence.