pub fn text_parts(content: &Value) -> usize
The number of pieces of text content carries: 1 for a string, one per text part for an array, 0 for anything else.
content