Save time coding and avoid programming errors.
Copy in the text and click Get Results button. JSON array code can be copied out from the bottom textarea.
Use key value pairs like: MyArray.key + " " + MyArray.value;
var MyArray = [
Ctrl A = Select All, Ctrl C = Copy, Ctrl V = Paste.
- Convert a list of values into an array
- Create a JSON object, which is the same as an array but more organized and easier to read
- The difference between the two is that the objects are stored as key-value pairs, while literals defines arbitrary keys.