Hey, you can only do this with javascript:
var arrayToUse = ["a","b","c"];
JSON stands for Javascript Object Notation, and this is the standard notation for javascript objects. You do not need a special library to use it. Example,
If you want to create an object in javascript, you would do something like:
var person = { name : 'somename', source : arrayToUse };
This is a javascript object in JSON notation
source share