pub fn string_array(items: &[String]) -> String
What: A JSON array of text items. Why: Pathspec and path lists in journal records.
In TS you’d write (pseudocode):
JSON.stringify(items)