Skip to main content

string_array

Function string_array 

Source
pub fn string_array(items: &[String]) -> String
Expand description

What: A JSON array of text items. Why: Pathspec and path lists in journal records.

In TS you’d write (pseudocode):

JSON.stringify(items)