Skip to main content

chunks

Function chunks 

Source
pub fn chunks(input: &str) -> Vec<String>
Expand description

Structure-aware chunks: array ⇒ one chunk per element; object ⇒ one chunk per "key": value entry; scalar/invalid ⇒ a single chunk. Never empty for non-empty input.