Skip to main content

string_array

Function string_array 

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

What: A JSON array of strings, each quoted as JSON.stringify quotes it. Why: Repository paths are the only arrays a journal holds.

In TS you’d write (pseudocode):

JSON.stringify(items)