toJSON :: Array
toJSON() -> String
Returns a JSON string.
Example
['a', {b: null}].toJSON();
//-> '["a",{"b":null}]'
Prototype API 1.5.0 - prototypejs.org