A common use of JSON is to exchange data to/from a web server. When sending data to a web server, the data has to be a string. Here's an example:

const arr = ["John""Peter""Sally""Jane"];
const myJSON = JSON.stringify(arr);