Mar 09, 2022 · A simple example is an array of numbers. When we serialize this data into a string, in this JavaScript example with JSON.stringify(), we can see how it is converted into a string that includes square brackets around our comma-delimited list of numbers: let arrayOfNumbers = [1,2,3,4,5] JSON.stringify(arrayOfNumbers) // ‘[1,2,3,4,5]’