src code

instance method Array#toJSON

Array#toJSON() → String

Returns a JSON string representation of the array.